Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javaScript Map() Method

// Create a Map
const fruits = new Map([
  ["apples", 500],
  ["bananas", 300],
  ["oranges", 200]
]);
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javaScript #Method
ADD COMMENT
Topic
Name
5+8 =