118
The JavaScript type coercion algorithm
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
So JavaScript type coercion is odd, but if you understand it and the WHY, it isn’t that bad.
Complain about this instead: https://jsdate.wtf/
God, this is cursed