In this lesson we will use functional programming approach to solve the challenge which requires you to capitalize all the letters of the string passed to the function. We will employ array.map
together with string.split
and string.join
to achieve this functionality.