Jump to content

JavaScript: Difference between revisions

Line 180: Line 180:


===Map===
===Map===
[https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map Reference]
[https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map MDN Map]
[https://www.ecma-international.org/ecma-262/10.0/index.html#sec-map-objects ES2019 (ES10) Map Specification] 
 
<syntaxhighlight lang="js">
<syntaxhighlight lang="js">
let myMap = new Map();
let myMap = new Map();