Return the value of a String object:
The result res of will be:
The toString() method returns the value of a String object.
Method | |||||
---|---|---|---|---|---|
toString() | Yes | Yes | Yes | Yes | Yes |
None. |
Return Value: | A String, representing the value of a string |
---|---|
JavaScript Version: | 1.1 |