Reverses an array and returns a new array.
The array to reverse
A new array that is the reverse of the argument
<pre> const original = [20, 10]; const result = [10, 20]; expect(reverse(original)).to.eql(result);</pre> Copy
<pre> const original = [20, 10]; const result = [10, 20]; expect(reverse(original)).to.eql(result);</pre>
Generated using TypeDoc
Reverses an array and returns a new array.