3 ms·
is-odd package doesn't use modulus. And I don't think thats really the issue either. is-odd has three dependencies of its own, one being is-number...
by cannedslime 9y ago
is-odd package doesn't use modulus. And I don't think thats really the issue either. is-odd has three dependencies of its own, one being is-number...
- caspervonb 9y agoSplitting hairs, yes that uses bitwise operators, you can get away with either a modulus operator or a bitwise AND operator.