☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 month agoJavaScriptlemmy.mlimagemessage-square8fedilinkarrow-up12arrow-down10cross-posted to: programmer_humor@programming.dev
arrow-up12arrow-down1imageJavaScriptlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 month agomessage-square8fedilinkcross-posted to: programmer_humor@programming.dev
minus-squarepropter_hog [any, any]@hexbear.netlinkfedilinkEnglisharrow-up1·1 month ago+ is overloaded for string concatenation, but - isn’t so the interpreter coerces the “11” into a number first.
+
is overloaded for string concatenation, but-
isn’t so the interpreter coerces the “11” into a number first.yup