16th weekly post, slice and map. Also, Jest.

Items of the week

  1. JavaScript — the array .slice() method accepts negative index, thus it is possible to extract the last element with .slice(0, -1). More details available on MDN Web Docs.
  2. JavaScript — it is common to see objects being used as maps but there are quite a number of differences in using an actual Map, such as using any types as keys instead of just string. MDN Web Docs has a good comparison table on this.
  3. Jest — ESM support is still experimental at the moment as mentioned in the official documentation page.

Note of the week

On the week 43 of 2021, we saw that the news of the upcoming Firefox 94 switching from GLX to EGL, this should translate to better WebGL performance for Linux users. That’s all for this week’s post, I must admit this week’s post was a bit more rushed than usual, still, thank you for reading and if you have got any feedback, do let me know by leaving a comment. Have a nice day!

--

--

--

Into web app development, UX, and Kopi-O.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Why I learned to program

Immutability with Java examples .

SOLID principles in Functional Programming

3utools Downloaded Firmware Location

Android View Measurement

🛠 Dev Blog: SenseiTemple.app bêta V0.2.0

Secure Azure Storage API

Finding Maximum and Minimum Element in a Binary Search Tree

Binary Search Tree

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
LongYC

LongYC

Into web app development, UX, and Kopi-O.

More from Medium

Example Audio Interview Story

CESS forW3F Grants: The last step, UI design

x0proxy.network 4G Project 2022: Design & Planning

Peer Interview and Story