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.
Our latest estimate puts the population of Arizona at 6,927,347 in 2016. This shows growth of about half a million from the official 2010 census results, which recorded a population of 6,392,017. From 1990 to 2000, Arizona was the second fastest growing state, increasing it's population by nearly 40 percent.