Reverses the characters of a string. Handles Unicode code points correctly.
The input string.
reverseString("hello") // => "olleh"reverseString("abcd") // => "dcba" Copy
reverseString("hello") // => "olleh"reverseString("abcd") // => "dcba"
Reverses the characters of a string. Handles Unicode code points correctly.