Comment by serge2k
11 years ago
and it uses another 1LOC package. https://github.com/sindresorhus/number-epsilon/blob/master/i...
and no, the edge cases argument does not apply to either of them. Wow.
11 years ago
and it uses another 1LOC package. https://github.com/sindresorhus/number-epsilon/blob/master/i...
and no, the edge cases argument does not apply to either of them. Wow.
Would you like to memorise that number yourself to use in your app?
What memorise? How about this for a dependency:
https://www.google.com.au/search?q=es6+epsilon
That module exists precisely because this is a new addition to the language, it's a polyfill for backwards compatibility.