Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to use the map method in javascript

const numbers = [1, 2, 3, 4, 5]; 

const bigNumbers = numbers.map(number => {
  return number * 10;
});
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #map #method #javascript
ADD COMMENT
Topic
Name
6+1 =