Reverses the given array
Optional
The arrays to inspect
The starting index, inclusive
The ending index, exclusive
David Hsing
reverse(undefined); // undefinedreverse(['foo', 'bar']); // ['bar', 'foo']reverse(['foo', 'bar'], 0, 1); // ['foo'] Copy
reverse(undefined); // undefinedreverse(['foo', 'bar']); // ['bar', 'foo']reverse(['foo', 'bar'], 0, 1); // ['foo']
Reverses the given array