reverse ( list/array list ) : list
Reverse elements of a list.
Example
maps = ["chocolate","ice cream","banana split"]
console(reverse(maps)) //-> [banana split, ice cream, chocolate]
Parameters
Reverse elements of a list.
maps = ["chocolate","ice cream","banana split"]
console(reverse(maps)) //-> [banana split, ice cream, chocolate]