array.reverse()
Returns a new array, with all the elements reversed
array.reverse( )
Returns: Array
This function does not take any arguments.
Examples
myarray = ["one","two","three","four","five"];
res = myarray.reverse();
writeDump(res);