Is One Equal True?
Is One Equal True? The == equality operator happily converts between types to find a match, so 1 == true evaluates to true because true is converted to 1 . The === type equality operator doesn’t do type conversions, so 1 === true evaluates to false because the values are of different types. Is it