-
Notifications
You must be signed in to change notification settings - Fork 5
reverse$
Subhajit Sahu edited this page May 19, 2020
·
16 revisions
Alternatives: [reverse], [reverse$].
array.reverse(x);
// x: an array
// --> reversed
const array = require('extra-array');
var x = [1, 2, 3, 4];
array.reverse$(x);
// [ 4, 3, 2, 1 ]
x;
// [ 4, 3, 2, 1 ]