this post was submitted on 01 Jun 2026
126 points (77.6% liked)

memes

21448 readers
1902 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/Ads/AI SlopNo advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] slazer2au@lemmy.world 115 points 3 days ago (7 children)

JS devs are like yep, that's clearly concatenation of 2 strings.

[–] zxqwas@lemmy.world 23 points 3 days ago (1 children)

But for some reason 456 + 123 = Null.

[–] Zwiebel@feddit.org 17 points 3 days ago (1 children)
[–] lokalhorst@feddit.org 5 points 3 days ago
[–] farmgineer@nord.pub 9 points 3 days ago

I came to complain about JS and see that I was beat to the punch

[–] TomMasz@piefed.social 3 points 2 days ago

Came here for JavaScript mention, was not disappointed.

[–] 30p87@feddit.org 5 points 3 days ago (1 children)

I mean everyone looking at that equation should think that

[–] slazer2au@lemmy.world 4 points 3 days ago

Compared to a type safe language where it would be an equation rather then concatenation.

[–] DmMacniel@feddit.org 3 points 3 days ago (1 children)

Only when the first statement is a string already would that result in a string concat.

[–] Ziglin@lemmy.world 2 points 3 days ago

They are implied to both being strings. As such the first one already is a string. Neither is marked as such in a standard way though.