Javascript Array Methods: push() and pop()
The pop() method in JavaScript removes an item from the end of an array, whereas the push() method adds an item to the end of an array.
Programming Blog
The pop() method in JavaScript removes an item from the end of an array, whereas the push() method adds an item to the end of an array.