cm0002@toast.ooo to Memes@sopuli.xyz · 26 days agoVery normal and safelemmy.mlimagemessage-square55linkfedilinkarrow-up1521arrow-down16cross-posted to: memes@lemmy.ml
arrow-up1515arrow-down1imageVery normal and safelemmy.mlcm0002@toast.ooo to Memes@sopuli.xyz · 26 days agomessage-square55linkfedilinkcross-posted to: memes@lemmy.ml
minus-squareAvicenna@programming.devlinkfedilinkarrow-up21·edit-225 days ago1+2=12 12+3=15 seems legit
minus-squarespizzat2@lemmy.ziplinkfedilinkarrow-up7·25 days agoAlso, working upward, 3+2=5, “1”+5=“15”. I wonder which “inspired” path it chose.
minus-squareAvicenna@programming.devlinkfedilinkarrow-up3·edit-225 days agono 1 and 2 are strings 3 is an integer m’kay?
minus-squarelugal@sopuli.xyzlinkfedilinkarrow-up2·25 days agoA single digit is a char but two digits are a string and can be transformed into an integer
1+2=12
12+3=15
seems legit
Also, working upward, 3+2=5, “1”+5=“15”.
I wonder which “inspired” path it chose.
Shouldnt it be 123 then
no 1 and 2 are strings 3 is an integer m’kay?
A single digit is a char but two digits are a string and can be transformed into an integer
JavaScript logic
So it’s JavaScript. Noted…