1//The general syntax for this method is:
2arrayName.pop()
3
4//This method removes and returns the LAST element in an array.
5//No arguments are placed inside the parentheses ().
6
7let arr = ['a', 'b', 'c', 'd', 'e'];
8
9arr.pop();
10
11console.log(arr);
12
13//e
14//['a', 'b', 'c', 'd']