JS Built-ins
NumberMAX_VALUEbeginner

Number.MAX_VALUE β€” type

πŸ“– Usage Example
// Largest finite positive number
Number.MAX_VALUE        // β†’ 1.7976931348623157e+308
Number.MAX_VALUE * 2    // β†’ Infinity

Use Number.MAX_VALUE to check against the largest representable floating-point value before performing operations that could overflow to Infinity.

Type of MAX_VALUE

Confirm Number.MAX_VALUE is a finite number.

πŸ’‘ Hints (1)
  • β€’ `MAX_VALUE` is a plain `number`, and it is finite.