171
JavaScript
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
+
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