Ye olde arguments argument (was: Topic list - pending changes and issues for the ES3.1 spec)

liorean liorean at gmail.com
Thu Sep 11 13:09:49 PDT 2008


> On Sep 11, 2008, at 12:56 PM, liorean wrote:
>> Does not quite work on the current web - JScript binds the "bar" name
>> in the containing scope, not the contained scope as ES3 specs it. That
>> means the inner name isn't really usable for recursion unless the
>> script author actually makes sure it stays unmodified in the
>> containing scope.

2008/9/11 Brendan Eich <brendan at mozilla.org>:
> Is this bug (which I should have remembered, since I called it out on LtU
> recently) fixed in IE8?

    var
        f=function fn(){return fn;},
        fn=null;
    f(); // => null

Seems to not have been fixed in ie8b2 / JScript5.8.

> Not that it helps the IE7 and even 6 cohorts out there.

And we're likely to have to deal with those for a long time still...
-- 
David "liorean" Andersson


More information about the Es-discuss mailing list