freeCodeCamp Challenge Guide: Reverse Arrays with Reverse

freeCodeCamp Challenge Guide: Reverse Arrays with Reverse
0

#1

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();

#2