DRAG DROP
A JavaScript array is initialized as follows:
You write the following code to manipulate the array:
You need to determine the contents of the array.
Which four elements does the array contain in sequence? To answer, move the appropriate elements from the list of elements to the answer area and arrange them in the correct order.
Answer:
Explanation: https://www.bennadel.com/blog/1796-javascript-array-methods-unshift-shift-push-and-pop.htm