@eroyeroy/utils - v0.1.0
    Preparing search index...

    Function reverseString

    • Reverses the characters of a string. Handles Unicode code points correctly.

      Parameters

      • str: string

        The input string.

      Returns string

      reverseString("hello") // => "olleh"
      reverseString("abcd") // => "dcba"