Below is the example of the string.toString() Method.
Parameters: It does not accept any parameter.
Return Values: It returns a new string represent the given string object.
- Google Chrome 1 and above
- Edge 12 and above
- Firefox 1 and above
- Internet Explorer 3 and above
- Opera 3 and above
- Safari 1 and above