Reverses the elements of an array.
The array
const result = Chalkboard.stat.reverse([1, 1, 2, 3, 5]); // Returns [5, 3, 2, 1, 1] Copy
const result = Chalkboard.stat.reverse([1, 1, 2, 3, 5]); // Returns [5, 3, 2, 1, 1]
Reverses the elements of an array.