@tempots/std
reverseString() function
Returns a new string whose characters are in reverse order.
Signature:
reverseString: (s: string) => string
Parameters
Parameter |
Type |
Description |
---|---|---|
s |
string |
The string to reverse. |
Returns: string
The reversed string.