• aksdb@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    1 day ago

    To add to this: the state of being not a number is only relevant to a number. Everything that’s already not a number doesn’t need a specific value to represent this state. It’s actually quite logical.

    Apparently one of the few examples of JS not being weird.

    • Heavybell@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      19 hours ago

      It is easier to understand the non-weirdness of it in a strongly typed language, IMO. But yes.