3 ms·
true == "0" == 0 == false This is untrue. > true == "0" false > "0" == 0 true > 0 == false true > true == "0" == 0 == false f
by boucher 18y ago
true == "0" == 0 == false
This is untrue.
> true == "0"
false
> "0" == 0
true
> 0 == false
true
> true == "0" == 0 == false
false
- DougBTX 18y agoI think he meant something like this: true == !0 == "0" == false Which still isn't that interesting, since it is much the same as: true == (false == false) More interesting, something like: > ! 0 == "0" false > 0 == ! "0" true Since "!" acts as if false === 0.