Posted On: Feb 22, 2018
In Javascript valueOf() method is used to get the primitive value of a string.
Example Usage:
var myVar= "Hi!" console.log(myVar.valueOf())
Never Miss an Articles from us.
Javascript Javascript is an object-oriented computer programming language commonly used to create interactive effects wi..
What is the difference between let and var?..