
How To Use .map() to Iterate Through Array Items in JavaScript | DigitalOcean
https://www.digitalocean.com/community/tutorials/4-uses-of-javascripts-arraymap-you-should-know
One of the most popular methods of iterating through datasets in JavaScript is the .map() method. .map() creates an array from calling a specific function on each item in the parent array. .map() is a non-mutating method that creates a new array inste