Returns a string representation of a string.
Syntaxstring.toString()
The string representation of the string.
ExamplesThe following example illustrates the use of the toString method with a string.
var string = "this is a test";
var strStr = string.toString();
document.write(strStr);
// Output: this is a test
Attributions
Microsoft Developer Network: Article
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4