DEV Community

Discussion on: Maps in JavaScript

Collapse
 
georgecoldham profile image
George

This is a great overview! I was expecting it to be the other map as that seems to be what people focus on and use more. But I am pleasantly surprised that you are highlighting less used but very useful functionality.

Why people dont use these more is a mystery to me. I often see people using Objects or even JSON without ever stopping to think about Map

Collapse
 
laurieontech profile image
Laurie

Same though!

Collapse
 
attacomsian profile image
Atta

May be because Maps are relatively new (introduced in ES6) whereas Objects are around since JavaScript version 1 and supported by all browsers.