Learning JavaScript? Download my free JavaScript Handbook 🔥

This method returns the number value of a Number object:

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