.reverse()

Term side of the Card
Topic: Array
Unit title: .reverse()
Categories: Method
Explanation side of the Card

Explanation: The method that reverses the order of all elements in an array. The first element becomes the last and the last becomes the first, modifying the original array.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: