Thanks for dropping by for another episode of our series on JavaScript Array Objects. We left off discussing five of the thirteen array objects JavaScript has to offer. Here, in this issue, we will make an effort to cover the remaining eight.
More on JavaScript Array Objects - Shift() It Around (Page 2 of 5 )
As stated in our beautiful table above, the shift() object is used to remove the first or left-most element in a given array, and return it. Below, we use it in a program that lists a bunch of fat guys, one of whom dies, and must be removed from the list: