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