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 www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #javaScript #Method
ADD COMMENT
Topic
Name
2+1 =