News for hackers. Stuff that matters.
Re:JavaScript Growing Pains: From 0 to 13,000 Dependencies by eeereerews on Sunday June 14, 2020 @01:47PM (#23519660)
It doesn't.

  isOdd('') => false
  isOdd(null) => false
  isOdd(2n) => TypeError: Cannot convert a BigInt value to a number
But even if it did, the same line of reasoning leads to the absurd conclusion we should have an addOne function.

There are no comments on this comment yet.