array-map Flashcards
(1 cards)
1
Q
What is Array.prototype.map useful for?
A
When we want a new array with each element being the result of the callback function.
What is Array.prototype.map useful for?
When we want a new array with each element being the result of the callback function.
Learningfuze Bootcamp (82 decks)