Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (5 sloc) 142 Bytes

You can use the .reverse() function to reverse the contents of an array.

var array = [1,2,3,4,5,6,7];

array = array.reverse();
Something went wrong with that request. Please try again.