EPSILONintermediate// Use EPSILON to compare floats safely
0.1 + 0.2 === 0.3 // β false (floating-point issue)
Math.abs(0.1 + 0.2 - 0.3) < Number.EPSILON // β trueUse Number.EPSILON as a tolerance threshold when comparing floating-point numbers that may differ by tiny rounding errors.
Use Number.EPSILON as a tolerance to determine if two numbers are close enough to be treated as equal.