Conflicts between W3C specs and ES5?

David-Sarah Hopwood david-sarah at jacaranda.org
Wed Nov 18 15:25:20 PST 2009


Brendan Eich wrote:
> On Nov 17, 2009, at 6:41 PM, Maciej Stachowiak wrote:
> 
>>>> otherWindow.copyOfEvalFromYetAnotherWindow("...") throws
[...]
>>>
>>> What is the rationale for throwing in this last case, rather than
>>> using the explicit base object (otherWindow) as |this|?
[...]
> The standard ECMA-262 semantics want otherWindow -- "bound method"
> exceptions prove the rule.

There are bound methods in ES implementations? I'm all ears.


(One thing I've never understood is why ES implementors add features
or exceptional behaviour that users of the language could only find,
or even know to look for, by reverse engineering or guesswork. What's
the point? Doesn't it take more work to add all this stuff?)

-- 
David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 292 bytes
Desc: OpenPGP digital signature
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20091118/202a4e29/attachment.bin>


More information about the es-discuss mailing list