Run ❯
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Arrays
The reverse() Method
The reverse() method reverses the elements in an array: