Comment by gone35
11 years ago
Wow, you were not kidding. I chose a random package of his [1], and indeed: a grand total of 1 LOC...
This is madness.
[1] https://github.com/sindresorhus/float-equal/blob/master/inde...
11 years ago
Wow, you were not kidding. I chose a random package of his [1], and indeed: a grand total of 1 LOC...
This is madness.
[1] https://github.com/sindresorhus/float-equal/blob/master/inde...
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
1 reply →