JavaScript tutorial:
MAX_VALUE property

 

Applies to: Number Object

The MAX_VALUE property is used to get the largest number representable in JavaScript. Equal to approximately 1.79E+308.

Syntax

Number.MAX_VALUE

The number argument is the Number object.

Return value

Returns the largest number representable in JavaScript. Equal to approximately 1.79E+308.

Example

The Number object does not have to be created before the MAX_VALUE property can be accessed.

See also: MIN_VALUE Property, NaN Property, NEGATIVE_INFINITY Property, POSITIVE_INFINITY Property, toString Method