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