Assigning to globals in strict mode

Brendan Eich brendan at mozilla.org
Wed Oct 20 00:18:14 PDT 2010


On Oct 19, 2010, at 11:32 PM, Brendan Eich wrote:

> On Oct 19, 2010, at 10:13 PM, Allen Wirfs-Brock wrote:
> 
>>> "use strict"; undeclared = global.undeclared = 5;
>>> This is allowed by ES5 strict.
>> 
>> I don't think so:
> 
> You're right, so Firefox does have a bug here.

Jason already filed this (thanks!) as https://bugzilla.mozilla.org/show_bug.cgi?id=605515.

/be
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es5-discuss/attachments/20101020/08c9b715/attachment.html>


More information about the es5-discuss mailing list