Solution: Going Loopy Over Arrays

Review solutions to the tasks from the going loopy over arrays challenge.

Solution 1

Here is a possible solution for the capitals function that uses the map to return a new array of the same words written in uppercase.

Get hands-on with 1200+ tech skills courses.