• ook@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    6
    ·
    8 天前

    Easy. You got 1 and 2, which is obviously 12. Then you add 3, because it is a sum, so 15 comes out. Don’t forget to like and subscribe!

    • e0qdk@reddthat.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 天前

      Almost works in JS. +("1" + 2) + 3 is 15, and "1" + 2 - -3 is 15, but "1" + 2 + 3 is “123”. 🙄️