.reverse()
Description
The method ".reverse()" reverses the order of strings and arrays
Parameters
Reverse takes no parameters
Usage On Strings
str = "hello"
// setup the string
log str.reverse()
// returns "olleh"Last updated
Was this helpful?