Rational for why Javascript converts primitive values to numbers in == operator comparisons when one is boolean?
Rationale for why JavaScript converts primitive values to numbers in == operator comparisons when one is boolean?