JavaScript Array reverse() methodLast Updated : 17 Mar 2025 The JavaScript array reverse() method changes the sequence of elements of the given array and returns the reverse sequence. In other words, the arrays last element becomes first and the first element becomes the last. This method also made the changes in the original array. SyntaxThe reverse() method is represented by the following syntax: ReturnThe original array elements in reverse order. JavaScript Array reverse() method exampleLet's see an example to reverse the sequence of elements of the array. ExampleTest it NowOutput: JQuery,Node.js,AngulaJS Next TopicJavaScript Array |
We request you to subscribe our newsletter for upcoming updates.

We deliver comprehensive tutorials, interview question-answers, MCQs, study materials on leading programming languages and web technologies like Data Science, MEAN/MERN full stack development, Python, Java, C++, C, HTML, React, Angular, PHP and much more to support your learning and career growth.
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India