Sundray@lemmus.org to simpsonsshitposting@sh.itjust.worksEnglish · 11 days agoThe Altman Cometh!imagemessage-square55linkfedilinkarrow-up1296arrow-down13file-text
arrow-up1293arrow-down1imageThe Altman Cometh!Sundray@lemmus.org to simpsonsshitposting@sh.itjust.worksEnglish · 11 days agomessage-square55linkfedilinkfile-text
minus-squareook@discuss.tchncs.delinkfedilinkEnglisharrow-up5·11 days agoEasy. 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!
minus-squaree0qdk@reddthat.comlinkfedilinkEnglisharrow-up2·11 days agoAlmost works in JS. +("1" + 2) + 3 is 15, and "1" + 2 - -3 is 15, but "1" + 2 + 3 is “123”. 🙄️
minus-squareboonhet@sopuli.xyzlinkfedilinkEnglisharrow-up2·10 days agoI’m still not convinced Javascript is a serious language rather than a prank.
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!
Almost works in JS.
+("1" + 2) + 3
is 15, and"1" + 2 - -3
is 15, but"1" + 2 + 3
is “123”. 🙄️I’m still not convinced Javascript is a serious language rather than a prank.