array-map Flashcards
1
Q
What is Array.prototype.map useful for?
A
Useful for manipulating each value in an array and saving only the manipulated values in a new array, without making changes to the original array.
LFZ JS Flash Cards > array-map > Flashcards
What is Array.prototype.map useful for?
Useful for manipulating each value in an array and saving only the manipulated values in a new array, without making changes to the original array.