Today I knew that JavaScript had an object called Number.

in #javascript7 years ago

When I looked for a method to find out if a number is an available number, I realized today that JavaScript has an object called Number and that it provides a variety of methods.

The method I needed was Number.isFinite (), which I used to implement. The following link provides more information.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number