The push() Method is used to add one or more values to the end of the array. This method changes the length of the array by the number of elements added to the array.
The pop() method removes the last element from an array. It return the removed element.
The unshift() method adds a new element to an array at the beginning, and other elements move to right by 1 index.
The shift() method removes the first array element and "shifts" all other elements to a lower index. It return the removed element.