Hacker News new | ask | show | jobs
by cannedslime 2979 days 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...
1 comments

Splitting hairs, yes that uses bitwise operators, you can get away with either a modulus operator or a bitwise AND operator.