Skip to content

Reverse

Reverses the sequence of characters in given string.

reverse('bad') // 'dab'