Skip to content

Challenge Reverse Arrays with reverse

SaintPeter edited this page · 1 revision
Clone this wiki locally

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.