Practice: Working with Map Objects

Map

The Map object holds key-value pairs and remembers the original insertion order of the keys. Any value (both objects and primitive values) may be used as either a key or a value.


Source: Mozilla, https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map
Creative Commons License This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.