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