Skip to content
FLAVIO COPES
flaviocopes.com
2026

The Number valueOf() method

Find out all about the JavaScript valueOf() method of a number

~~~

This method returns the number value of a Number object:

const age = new Number(36)
typeof age //object
age.valueOf() //36
~~~

Related posts about js: