Definition and Usage The valueOf() method returns the primitive value of a String object. The primitive value is inherited by all objects d...
Definition and Usage
The valueOf() method returns the primitive value of a String object.The primitive value is inherited by all objects descended from the String object.
The valueOf() method is usually called automatically by JavaScript behind the scenes and not explicitly in code.
Syntax
stringObject.valueOf() |