Javascript Number object

Posted by Prem Tiwari | Updated on

The built-in Number object has properties for numerical constants, such as maximum value, not-a-number, and infinity. You cannot change the values of these properties and you use them as follows:

You always refer to a property of the predefined Number object as shown above, and not as a property of a Number object you create yourself.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers