If one wants to get the last element in one go, he/she may use Array#splice() : Here, there is no need to store the split elements in an array, and then get to the last element.
Welcome to City of Page, Arizona. Page is a small town in northern Arizona located on the southern shores of magnificent Lake Powell.
Yavapai County is near the center of the U.S. state of Arizona. As of the 2010 census, its population was 211,073. The county seat is Prescott. Yavapai County comprises the Prescott, AZ Metropolitan Statistical Area.