Question: Create a program in javascript that will perform the following: make an array that stores the months of December, March, August, and November. Display the

Create a program in javascript that will perform the following:
make an array that stores the months of December, March, August, and November.
Display the array.
Change the first item of the array to February.
Add a new item to the end of the array. Assign it a value of May.
Add a new item to the beginning of the array. Assign it a value of January.
Change the fourth item of the array to April.
Delete the last item of the array.
Display the length of the array.
Display all the items in the array.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!