118
The JavaScript type coercion algorithm
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
3 - 1 // -> 2
3 + 1 // -> 4
'3' - 1 // -> 2
'3' + 1 // -> '31'