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