Array JavaScript Tutorial

The reverse() method reverses the order of the elements in the array according to the array index numbers.