javaScript gives us four methods to add or remove items from the beginning or end of arrays:
pop(): Remove an item from the end of an array
push(): Add items to the end of an array
unshift(): Add items to the beginning of an array
shift(): Remove an item from the beginning of an array
Learn to add and remove items from any position in the array with pop, push, shift, unshift