this post was submitted on 01 Jun 2026
146 points (92.0% liked)

memes

21419 readers
2708 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 107 points 5 hours ago (6 children)

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

[–] farmgineer@nord.pub 7 points 3 hours ago

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

[–] zxqwas@lemmy.world 22 points 4 hours ago (1 children)

But for some reason 456 + 123 = Null.

[–] Zwiebel@feddit.org 25 points 5 hours ago (1 children)
[–] lokalhorst@feddit.org 10 points 5 hours ago
[–] 30p87@feddit.org 8 points 5 hours ago (1 children)

I mean everyone looking at that equation should think that

[–] slazer2au@lemmy.world 2 points 5 hours ago

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

[–] DmMacniel@feddit.org 7 points 5 hours ago (1 children)

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

[–] Ziglin@lemmy.world 1 points 1 hour 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.