JSREF

JavaScript Array reverse()

The reverse() method reverses the order of the elements in an array.