JS: Map.prototype
New in JS2015.
What is Map.prototype
Map.prototype
is the value of the property key "prototype"
of the function Map
. [see Map Object]
Map.hasOwnProperty("prototype")
Type
Type of Map.prototype
is Object
.
typeof Map.prototype === "object"
Parent
Parent of Map.prototype
is Object.prototype
.
Reflect.getPrototypeOf(Map.prototype) === Object.prototype
Purpose
Purpose of Map.prototype
object is to provide methods and properties useful for all map instances.
Map.prototype
is the parent of all map instances.
Reflect.getPrototypeOf(new Map()) === Map.prototype
[see the Map Object Tutorial]
Properties
Value Properties
Function Properties
get/set
loop
JavaScript, Map Object
- JS: Map Object Tutorial
- JS: Difference, Object vs Map
- JS: Literal Expression for Map
- JS: Nested Map
- JS: Iterate Map Object
- JS: Convert Object to Map ð
- JS: Convert Map Object to Object Object ð
- JS: Map Equality ð
- JS: Map Filter ð
- JS: Swap Key Value of Map ð
- JS: Sort Map ð
- JS: Truncate Map ð
- JS: Map Substract ð
- JS: How Map Determines Uniqueness of Keys
- JS: Map Object
- JS: Map Constructor
- JS: Map.prototype