JavaScript Objects The Number Object- Max Value - Javascript Objects

What is JavaScript Number - MAX_VALUE?

The property Number.MAX_VALUE is a static Number object. It represents constants that the JavaScript can work for the largest possible positive numbers.

This constant actual value is 1.7976931348623157 x 10 power 308

Syntax:

The syntax for MAX_VALUE is −

var val = Number.MAX_VALUE;

Example:

Go through the below example to learn the use of MAX_VALUE.

Output:

Value of Number.MAX_VALUE : 1.7976931348623157e+308


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Javascript Objects Topics