This method returns the number value of a Number object:

const age = new Number(36)
typeof age //object
age.valueOf() //36
Download my FREE JavaScript Handbook 🔥