>
>
>> js> 0L == "0"
>> typein:2:0 TypeError: no operator function found for ==
>>
>
>
And what does this do?

    0L == { valueOf() { return 0 } }

Is the Object-type operand converted to a primitive before the overload is
matched?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to