Function reverse

  • Reverse a string.

    Parameters

    • string: string

      The string to reverse.

    Returns string

    The reversed string.

    Example

    reverse("TypeScript");
    // => "tpircSepyT"

Generated using TypeDoc