JavaScript Array Map Function

Understanding array map

The map() method creates a new array populated with the results of calling a provided function on every element in the calling array.

Scroll to Top