An array is a special type of object in JavaScript used to store multiple values in a single variable. Each value in an array has an index, starting from 0 for the first element.
The reverse() method of {{jsxref("Array")}} instances reverses an array in place and returns the reference to the same array, the first array element now becoming the last, and the last array element ...