2 ms·
Why isn't there a single "jmath" module that provides everything? Why a library for a single function to test for oddness that depends on a completely separate
by krapp 9y ago
Why isn't there a single "jmath" module that provides everything? Why a library for a single function to test for oddness that depends on a completely separate package for a single function to determine if something is a number?
What is the point of the javascript universe's almost pathological degree of granularity? It can't merely be about bandwidth or latency, since combining these into a single module would probably reduce redundant code (and LOC in total) and the number of requests made to just 1.
- niutech 9y agoThere are many: - Math.js: http://mathjs.org http://mathjs.org - Numbers.js: https://numbers.github.io https://numbers.github.io - Numeric JavaScript: http://www.numericjs.com http://www.numericjs.com But the thing is, they are not suitable for such simple things like number % 2.