The 1JS experiment has failed. Let's return to plan A.

Axel Rauschmayer axel at rauschma.de
Wed Dec 26 20:13:13 PST 2012


> As an aside, ES itself can't self-host its own builtins in strict mode because of the (two of the very few) semantic differences that exist between strict mode and non-strict mode: non-strict thrower properties (which I've come to consider an annoying blight that punishes developers in order to influence implementers) and strict this-mode differences. Every semantic difference you mandate furthers this gap.

I understand that throwing exceptions (that wouldn’t be thrown in sloppy mode) is a problem. But why is `this`? How would `this` not pointing to the global object inside a strict-mode builtin be observable to the outside?

-- 
Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121227/c39e3238/attachment.html>


More information about the es-discuss mailing list