array-map Flashcards
1
Q
What is Array.prototype.map useful for?
A
it is useful to create a new array from an array based on performing a function on every elements in the original array.
Module 3 - 0921 > array-map > Flashcards
What is Array.prototype.map useful for?
it is useful to create a new array from an array based on performing a function on every elements in the original array.