> 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 a...@rauschma.de home: rauschma.de twitter: twitter.com/rauschma blog: 2ality.com
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss