Array has function unshift that adds an element to the start of the array.