array-map Flashcards
1
Q
What is Array.prototype.map useful for?
A
To manipulate each element of the array and return the altered element in a new array.
c1120 > array-map > Flashcards
What is Array.prototype.map useful for?
To manipulate each element of the array and return the altered element in a new array.