Reverses all characters in a string.
A string to reverse.
Reversed string.
reverse('Hello, world!'); // '!dlrow ,olleH' Copy
reverse('Hello, world!'); // '!dlrow ,olleH'
Reverses all characters in a string.