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