Example 1 — Read Number.MIN_VALUE
Print the smallest positive Number and confirm it is greater than zero.
console.log(Number.MIN_VALUE);
console.log(Number.MIN_VALUE > 0); How It Works
- Static access. Read
Number.MIN_VALUEon the constructor — there is no(5).MIN_VALUE. - Tiny positive. Engines print
5e-324. - Still above zero.
MIN_VALUE > 0istrue— it is not negative. - Prefer the name. Use the constant instead of hard-coding the literal.

