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.
Arizona is located in the Southwest U.S. Mexico is to the south, California and part of Nevada is to the west, Utah is to the north, and New Mexico is to the east. Arizona is 113,909 square miles, making it the 6th largest state in the country.The State of Arizona is shown on the map in red.he City of Phoenix (black dot on the map) is in Maricopa County (white area). It is rather centrally located in the State of Arizona. Note that the map is not drawn to scale; these are simply general shapes and locations for your reference.