Reverses the array. 📦 😺 🏃 📼 🌔 📜 📰 📘 Alternatives: reverse, reverse$. Similar: repeat, cycle, rotate, reverse. This is part of package extra-array. array.reverse(x); // x: an array const array = require("extra-array"); var x = [1, 2, 3, 4]; array.reverse(x); // [ 4, 3, 2, 1 ] References Array.prototype.reverse: MDN web docs Collections.reverse: Java _.reverse: lodash immutable-array-prototype: @azu