We are required to write a JavaScript function that takes in an array of String literals. The function should do the following two things −

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements