From: es-discuss [mailto:[email protected]] On Behalf Of Brendan 
Eich

> js> 0L == "0"
> typein:2:0 TypeError: no operator function found for ==

Hmm, upon seeing this in action, I'm not sure how I feel about `==` throwing. 
It doesn't normally do that (modulo bad custom `valueOf`/`toString` methods), 
so I think there will be a lot of code that assumes when it `==`s two values it 
doesn't need to wrap that expression in `try`/`catch`.

`do { try { x == y } catch { false } }`, the new `x == y`?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to