Skip to content
DevMeme
2641 of 7590
Languages Post #2920 · source on Telegram

When One String Joins The Sum

Description

A vertical comic shows six small panels of Power Rangers-style gloved hands stacking together, labeled in sequence as "1", "1+2", "1+2+3", "1+2+3 +4", "1+2+3 +4+5", and "1+2+3 +4+5+\"6\"". Below, a purple Teletubby-like character labeled "6" joins the group, and the final panel shows all the characters as purple Teletubbies with the caption "\"123456\"". The meme is a visual joke about loose typing, implicit coercion, and accidental string concatenation, though in JavaScript the exact left-associative expression shown would produce "156" rather than "123456".

Comments

11
Anonymous ★ Top Pick In JavaScript this team-building exercise returns "156", which is how you know the meme forgot left associativity before it forgot types.
  1. Anonymous ★ Top Pick

    In JavaScript this team-building exercise returns "156", which is how you know the meme forgot left associativity before it forgot types.

  2. @daviku2000 5y

    javascript be like -1232.5

  3. @Supuhstar 5y

    Hopefully XD

  4. @PsyDuckTape 5y

    Exactly, this meme makes no sense

  5. @Supuhstar 5y

    Beautiful

  6. @saidov 5y

    👍👍, stop making fun of JS, it’s a cool language

    1. @kallef 5y

      Are you making fun or serious? I don't know if it's irony

      1. @saidov 5y

        Just learn conversion rules, double triple equals. It’s all based on rules. It reminds me people who made fun of CSS for being inconsistent while they didn’t know about specificity.

        1. @kallef 5y

          Keep calm, brow. It's just a joke. JS is cool

    2. @TTpocT 5y

      Если в инха, то верю

  7. Deleted Account 5y

    Greate calculation 😂

Use J and K for navigation