• Admiral Patrick@dubvee.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 day ago

    It’ll give you 1 ~= true or 0 ~= undefined, but I typically use Typescript which prefers actual booleans to boolean-ish

    • juliebean@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      20 hours ago

      huh. interesting. i wonder what number it’s actually storing for false then?