Equality Reform(ul)ation

Brendan Eich brendan at mozilla.com
Wed Jan 15 13:06:31 PST 2014


Andrea Giammarchi wrote:
> I would expect that to be `true` same as `0 == {valueOf:Number}` would be

No, please do read what I posted. Value object operator dispatch is 
different and does not use toString or valueOf on an object operand.

/be


More information about the es-discuss mailing list