push() vs pop() method in Javascript

push()
- Appends one or multiple elements to the end of an array.


pop()
- Eliminates the final element from an array, returning it.



Example 

let numbers = [3, 5, 1, 5, 8, 2];

numbers.push(13);
console.log( numbers );

numbers.pop();
console.log( numbers );

console.log( numbers.pop() );
console.log( numbers );