Standard built-ins
Number.EPSILON
The positive gap from 1 to the next larger representable Number. It is useful for reasoning about precision near 1, not as a universal tolerance at all magnitudes.
Formal Syntax & Structure
javascript syntaxjavascript
Number.EPSILONReturn Value
number
2^-52.
Working Example
Example Snippetjavascript
console.log(1+Number.EPSILON>1);