-
Notifications
You must be signed in to change notification settings - Fork 5
reverse
Subhajit Sahu edited this page May 19, 2020
·
24 revisions
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]