TypeScript String toString()
Syntax & Examples
Syntax of toString()
The syntax of String.toString() method is:
toString(): stringThis toString() method of String returns a string representation of a string.
The syntax of String.toString() method is:
toString(): stringThis toString() method of String returns a string representation of a string.