Coding Challenge: List of Words

Let's take a few words as input and create a method of an object to store words in the array.

Problem statement

Here, you will practice on objects and use functions to play with arrays. You will take a few words in the array and output the particular words according to the below tasks.

First, you will define an object and create a method to ...