Tweakr
    Preparing search index...

    Function reverseString

    • Reverses the characters in a string.

      Parameters

      • str: string

        The string to reverse.

      Returns string

      The reversed string.

      1.1.0

      reverseString("hello"); // "olleh"
      reverseString("12345"); // "54321"