DEV Community

Discussion on: Poll: Do you know in JavaScript, what `a == null` is for, exactly?

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

No, I just can't predict about == in JavaScript, so number 3.

Also, and interestingly, is there a performance difference, or just convenience for type coercion?

Collapse
 
sunflower profile image
sunflowerseed

good answer... I think the cases with == is just so highly unpredictable... and so many different cases