JS Built-ins
NumberMIN_VALUEbeginner

Number.MIN_VALUE β€” comparison with 0

πŸ“– Usage Example
// Smallest positive nonzero number
Number.MIN_VALUE        // β†’ 5e-324
Number.MIN_VALUE > 0    // β†’ true

Use Number.MIN_VALUE to access the smallest positive number JavaScript can represent, not the most negative number.

MIN_VALUE vs Zero

Number.MIN_VALUE is greater than 0 but smaller than any other positive number you can write as a literal.

πŸ’‘ Hints (1)
  • β€’ `MIN_VALUE / 2` rounds down to 0 because there is no smaller positive float.