When to Use Map instead of Plain JavaScript Object

Map complements plain objects. Map’s main benefits over plain object is allowing keys of any type and any name.

Map complements plain objects. Map's main benefits over plain object is allowing keys of any type and any name.
Print Share Comment Cite Upload Translate
CITATION GOES HERE CITATION GOES HERE
Select a language: