DEV Community

Discussion on: Javascript logic

Collapse
 
pentacular profile image
pentacular

The == operator is asymmetric due to implicit conversions.

Compare with === which does not perform implicit conversions.

Collapse
 
cause profile image
Kaz Malhotra

Ok, thanks. I'm used to python's '=='