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


Follow my new project: From Zero to App

A video-based learning project where I create a React + GraphQL app from idea to deployment! 9 free videos already out!