Hacker News new | ask | show | jobs
by Pensacola 1680 days ago
Funniest thing about this is that is-even requires as a dependency another node package written by the same author, called "is-odd." the is-even code just returns !is-odd. The "is-odd" package actually contains the logic for determining if a number is odd or even.