3 ms·
Do any of those return true if you use double equals? The distinction only really comes up when you have to different types on either side and then It will coer
by idbehold 10y ago
Do any of those return true if you use double equals? The distinction only really comes up when you have to different types on either side and then It will coerce one of the types to match the other.
- TAForObvReasons 10y agoThat is correct. The canonical example is string-numeric coercion: "0" == 0 && "0" !== 0