
push() adds an item to the end of an array. pop() removes the last item. shift() removes the first item. unshift() adds an item to the beginning. These four methods cover the most common array mutation operations and are the foundation of working with lists in JavaScript.
Reference:
TaskLoco™ — The Sticky Note GOAT