• Drusenija@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      What’s even wilder is if you look at the code of that package, all it does is include the is-odd package and then return !is-odd. And the is-odd package isn’t much better, it does some basic checks on the input and then returns n % 2 === 1.