this post was submitted on 07 Oct 2025
306 points (99.0% liked)

simpsonsshitposting

4328 readers
503 users here now

I just think they're neat!

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] ook@discuss.tchncs.de 6 points 3 days ago (1 children)

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 1 points 3 days ago (1 children)

Almost works in JS. +("1" + 2) + 3 is 15, and "1" + 2 - -3 is 15, but "1" + 2 + 3 is "123". ๐Ÿ™„๏ธ

[โ€“] boonhet@sopuli.xyz 2 points 2 days ago

I'm still not convinced Javascript is a serious language rather than a prank.