Using for each loops with arrays in js
using pop, push, shift, unshift, splice - removing, adding, and replacing, sort, and reverse all in js