The map is a newer feature of JavaScript. It is only available since ES6. Just using an ordinary object might seem more comfortable to use than a map. I am not covering why you should use maps. But it is a cheat sheet on how to use them.

3m read timeFrom kristijan-pajtasev.hashnode.dev
Post cover image
Table of contents
BasicsCreating a mapOther useful functionsNumber of items in a map
2 Comments

Sort: