The .map() method is one of the most commonly used methods in JavaScript. Unlike forEach(), the map() method creates a new array with the results of a function call on each element in the array.
Read more at: https://imelgrat.me/javascript/array-object-iteration-javascript/