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.
Phoenix is the capital of the state of Arizona, located in Southwestern United States adjacent to the states of California, Nevada, Utah, Colorado (at â4 cornersâ), and New Mexico.Arizona shares a vibrant border with Mexico that facilitates trade between the U.S. and Latin America.hoenix has a population of 1.6 million and is the fifth largest city in the United States, forecast to be at least #4 by 2020. Adjacent cities include Scottsdale, Mesa, Chandler, Gilbert, Glendale, Goodyear, and Surprise â and other nearby cities include Tucson, Yuma, and Flagstaff.