• lm7
    link
    fedilink
    arrow-up
    2
    ·
    10 months ago

    That’s valid Python as well

    • Kogasa@programming.dev
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      10 months ago

      It’s probably valid javascript that returns “-1” or the empty string depending on if “b” is undefined or null