From http://www.w3schools.com (Copyright Refsnes Data)

JavaScript MAX_VALUE Property


Number Object Reference JavaScript Number Object

Definition and Usage

The MAX_VALUE property returns the largest value that may be used in JavaScript.

This constant has actual value 1.7976931348623157 x 10308.

Syntax

Number.MAX_VALUE


Example

Example

Return the largest possible value in JavaScript.

<script type="text/javascript">

document.write(Number.MAX_VALUE);

</script>

The output of the code above will be:

1.7976931348623157e+308

Try it yourself »


Number Object Reference JavaScript Number Object

From http://www.w3schools.com (Copyright Refsnes Data)