DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
map function
const ratings = watchList.map(item => ({ title: item["Title"], rating: item["imdbRating"] }));
Source by forum.freecodecamp.org #
PREVIOUS
NEXT
Tagged:
#map
#function
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit