☆ Yσɠƚԋσʂ ☆ to Programmer [email protected]English • 1 month agoJavaScriptlemmy.mlimagemessage-square26fedilinkarrow-up1106cross-posted to: [email protected]
arrow-up1106imageJavaScriptlemmy.ml☆ Yσɠƚԋσʂ ☆ to Programmer [email protected]English • 1 month agomessage-square26fedilinkcross-posted to: [email protected]
minus-squarepropter_hog [any, any]linkfedilinkEnglish14•1 month ago+ is overloaded for string concatenation, but - isn’t so the interpreter coerces the “11” into a number first.
minus-square@[email protected]linkfedilink2•1 month agowe have a concept for that in brazilian portuguese. it’s called “gambiarra”.
+
is overloaded for string concatenation, but-
isn’t so the interpreter coerces the “11” into a number first.yup
we have a concept for that in brazilian portuguese. it’s called “gambiarra”.
Thanks for the explanation