codetrix - v1.5.0
    Preparing search index...

    Function reverseString

    • Reverses a given string.

      Parameters

      • str: string

        The string to reverse.

      Returns string

      The reversed string.

      reverseString('hello'); // 'olleh'