Takes an array (or an array-like object) or a string, copies it, and returns the copy in reverse order.
This function is valid in
v2.10.2 to v2.23.0.
This function has been downloaded 29 times.
If this is an array or an array-like object a copy of it will be made as an array and then the copy will be reversed. If this is a string a copy will be made with all of the characters put in reverse order.
Returns a copy of
arrOrStr in reverse order.
This function directly requires the following function which is included automatically:
Slice does not modify the original array, but instead returns a shallow copy of elements from the original array.