array-map Flashcards
(1 cards)
1
Q
what is array-map useful for?
A
creates a new array with the results of calling a provided function on every element in the calling array
what is array-map useful for?
creates a new array with the results of calling a provided function on every element in the calling array