JavaScript valueOf() Method
JavaScript Number Object
Definition and Usage
The valueOf() method returns the number as a string.
The string output is always equal to the number as it is represented in base 10.
The valueOf() method is usually called automatically by JavaScript behind the scenes and not explicitly in code.
Syntax
JavaScript Number Object
|