News for hackers. Stuff that matters.
Re:Minify and Gzip (2022) by cmg on Monday July 17, 2023 @08:56AM (#36757702)
Because 1 !== true and 0 !== false in JavaScript:

  const index = "Hello HN".indexOf("H")
  console.log(index);
  >> 0
  index == false
  >> TRUE
  index === false
  >> FALSE

There are no comments on this comment yet.