Returns the string representation of the current String object:
const str = new String('Test')
str.toString() //'Test'
It's same as valueOf()
.
Find out all about the JavaScript toString() method of a string
Returns the string representation of the current String object:
const str = new String('Test')
str.toString() //'Test'
It's same as valueOf()
.
THE VALLEY OF CODE
THE WEB DEVELOPER's MANUAL
You might be interested in those things I do: