Reverse text

Last character first — emoji and accents stay in one piece.

Result
The result appears here as you type.

Why you would use this

Reversing a string naively splits emoji, flags and accented letters into their parts. This walks the text by grapheme cluster, which is what a reader would call a character.

More clean-up & lines