So, I was messing around with JS and ran into some strange things with it's logic. Here is a screenshot:
Doesn't this violate the transitive law of logic?
For further actions, you may consider blocking this person and/or reporting abuse
Al-Amin Islam -
Chabba Saad -
Kueiapp -
Gabor Szabo -
Top comments (2)
The == operator is asymmetric due to implicit conversions.
Compare with === which does not perform implicit conversions.
Ok, thanks. I'm used to python's '=='