DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js map constructor
let myMap = new Map([ [1, 'one'], // [key, value] [2, 'two'], [3, 'three'], ]) // from MDN
PREVIOUS
NEXT
Tagged:
#js
#map
#constructor
ADD COMMENT
Topic
COMMENT
Name
4+7 =
Submit