JavaScript String toString()
JavaScript String toString()
The toString() method is used to convert a string object into a string. This method is used to return a string as a string. It will not change the original string.
Syntax:-
Its syntax is:- string.toString()
Return:-
Its return is:- content of the string