News for hackers. Stuff that matters.
Re:The Node.js Ecosystem Is Chaotic and Insecure by cannedslime on Monday April 23, 2018 @06:04AM (#16901995)
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...
Re:The Node.js Ecosystem Is Chaotic and Insecure by caspervonb on Monday April 23, 2018 @12:26PM (#16904857)
Splitting hairs, yes that uses bitwise operators, you can get away with either a modulus operator or a bitwise AND operator.