Example 1 — Read Number.EPSILON
Print the constant and confirm it equals 2 ** -52.
console.log(Number.EPSILON);
console.log(Number.EPSILON === 2 ** -52); How It Works
- Static access. Read
Number.EPSILONon the constructor — there is no(1).EPSILON. - Tiny gap. The printed value is about
2.22e-16. - Exact definition. In IEEE-754 doubles, that spacing is exactly
2 ** -52. - Read-only. Engines expose it as a non-writable constant.

