cm0002@lemmy.world to Programmer Humor@programming.dev · 9 months agoJavaScriptlemmy.mlimagemessage-square92linkfedilinkarrow-up1848arrow-down113
arrow-up1835arrow-down1imageJavaScriptlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 9 months agomessage-square92linkfedilink
minus-squareAvid Amoeba@lemmy.calinkfedilinkarrow-up31arrow-down1·9 months agoYup. It’s completely inconsistent in its interpretation of the + operator.
minus-squareGsus4@mander.xyzlinkfedilinkarrow-up18·edit-29 months agoYeah, I actually had to try 1+“11” to check that it didn’t give me 12, but thankfully it commutes it’s consistent 😇
Yup. It’s completely inconsistent in its interpretation of the + operator.
Yeah, I actually had to try 1+“11” to check that it didn’t give me 12, but thankfully
it commutesit’s consistent 😇