DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+6 =
Submit