Before Semicolon
Published in

Before Semicolon

An Introduction to the Map/Dictionary Data Structure in JavaScript

Everything about the Map Data Structure in JavaScript

A dictionary data structure is known by many names. It is often called Map, Associative Array, Symbol, or Lookup table. In JavaScript, we have objects, Map, and WeakMap which can all fall into this category but, do you know their difference and when to use which?

--

--

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
Elson Correia

Elson Correia

2K Followers

I am a UI Engineer who loves building products and sharing ideas. I write about product and web development, career insights and programming in general. 😊