@extra-array/reverse.min
TypeScript icon, indicating that this package has built-in type declarations

2.10.19 • Public • Published

Reverses the array. 📦 😺 🏃 📼 🌔 📜 📰 📘

Alternatives: reverse, reverse$.
Similar: repeat, cycle, rotate, reverse.

This is part of package extra-array.

This is browserified, minified version of @extra-array/reverse.
It is exported as global variable array_reverse.
CDN: unpkg, jsDelivr.


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

Readme

Keywords

Package Sidebar

Install

npm i @extra-array/reverse.min

Weekly Downloads

364

Version

2.10.19

License

MIT

Unpacked Size

4.98 kB

Total Files

8

Last publish

Collaborators

  • wolfram77