JS: Map.prototype
(new in ECMAScript 2015)
What is map.prototype
Purpose of Map.prototype object is to provide methods and properties useful for all map objects.
Properties
Value Properties
Function Properties
get and set
- JS: Map.prototype.get
- JS: Map.prototype.getOrInsert
- JS: Map.prototype.getOrInsertComputed
- JS: Map.prototype.set
- JS: Map.prototype.has
- JS: Map.prototype.delete
- JS: Map.prototype.clear
iteration
Map.prototype[Symbol.iterator]same as Map.prototype.entries