is-odd
is-odd copied to clipboard
Is a number odd?
Please add unit testing; using your is-even library for checks.
This is a serious issue and it should be fixed. My company depends on the functionality of this package.
The code says it all 😁
38M to 33M I also left a script to minify future versions, unfortunately it is not possible to use [node-minify](https://github.com/srod/node-minify) with [ugliify-js](https://github.com/mishoo/UglifyJS). I also did a similar PR here: https://github.com/samuelmarina/is-even/pull/78
By Storing the boolean true & false in global var variables, the performance increases by 69%. Just trying to do what's best for the community :P
added 1,000,000 more numbers
I used big brain coder skills to make this project even better
This code will work for all the numbers and has a 69% chance of showing the correct output if the number is greater than 1 million. Looks like in the...