Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript map

// Creating javascript map with one instruction
const map = new Map([
  ["key", "value"],
  ["key2", "value2"],
]);
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript #map
ADD COMMENT
Topic
Name
9+2 =