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 the 48th state and last of the contiguous states to be admitted to the Union, achieving statehood on February 14, 1912. It was previously part of the territory of Alta California in New Spain before being passed down to independent Mexico and later ceded to the United States after the MexicanâAmerican War.