118
The JavaScript type coercion algorithm
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
The description in the first photo about int - steing comparison is incomplete though, right? Wasn't there also a rule anout which one of then comes first (the second parameter gets converted?), and what happens if a string contains non-numeric values?
It's all so confusing…