Map (initial support)
Widely available
Map objects hold key-value pairs and remember the original insertion order of the keys. To learn more, see Map at MDN.
Compatibility
- Chrome 38 Released on 2014-10-07
- Chrome Android 38 Released on 2014-10-08
- Edge 12 Released on 2015-07-29
- Firefox 13 Released on 2012-06-05
- Firefox for Android 14 Released on 2012-06-26
- Safari 8 Released on 2014-10-16
- Safari on iOS 8 Released on 2014-09-17
Specifications
- ECMAScript Language Specification (#sec-map-objects), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-map-constructor), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-map.prototype.clear), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-map.prototype.delete), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-map.prototype.entries), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-map.prototype.foreach), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-map.prototype.get), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-map.prototype.has), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-map.prototype.keys), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-map.prototype.set), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-get-map.prototype.size), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-map.prototype.values), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-map.prototype-@@iterator), from TC39 (Ecma International).
- ECMAScript Language Specification (#sec-get-map-@@species), from TC39 (Ecma International).