array-map Flashcards

1
Q

What is Array.prototype.map useful for?

A

Creating a new array populated with the results of calling a provided function on every element in the array

How well did you know this?
1
Not at all
2
3
4
5
Perfectly