Goal: In the Array Mapping lesson we learned how to use
.map() to return a new array with some sort of manipulation or calculation performed on each element. Let's further hone our array mapping skills by completing the exercises detailed below.
map()alter the array it is called upon?
forEach()and when it might be better to use
.map()to return an array containing each of the original numbers + 1.
.map()to return an array of the same words in all uppercase.