16th weekly post, slice and map.
Items of the week
.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.
Map, such as using any types as keys instead of just string. MDN Web Docs has a good comparison table on this.
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!