When one comes across the map() method, it is often referred to as Array.prototype.map(), as in the case of freeCodeCamp .
The map() method is great for scanning through data for specific pieces of information in each array and creating a new array with it. I have an example below:
Using the above data related to some of the most prominent Japanese leaders of the Meiji Restoration, I can use the map() method to pull the names of these people and create a new array with them.
[https://www.w3schools.com/jsref/jsref_map.asp] W3 Schools is another great resource for learning about arrays. They succinctly list the 3 major points when it comes to map():
"map() creates a new array from calling a function for every array element.
map() does not execute the function for empty elements.
map() does not change the original array."