Skip to main content

Signature

path=null start=null
reverseWords(str: string): string

Parameters

  • str: string - The input string.

Returns

string - The string with the order of words reversed.

Source

Defined in string.ts:140