JavaScript comparison: Object vs Map

Mohammad Aziz on January 05, 2019

Before we start As you might have guessed from the quality of this post, this is my first technical blog post. As I always wanted to wri... [Read Full]
markdown guide
 

Map object can have the key of any primitive type.

Map can have keys of literally any type, not restricted to primitives.

 

Thanks, Alekset for your feedback. I have updated the post based on your input.

code of conduct - report abuse