JS: Map (class)
(new in ECMAScript 2015)
What is the keyword “map”
Purpose of Map is:
- To create map object.
- Used as a namespace to hold static methods.
- Holds the property key
"prototype". Its value is the parent of all map objects.
(new in ECMAScript 2015)
Purpose of Map is:
"prototype". Its value is the parent of all map objects.