arguments.callee and strict mode

Allen Wirfs-Brock Allen.Wirfs-Brock at
Tue Mar 10 09:38:31 PDT 2009

>-----Original Message-----
>From: Douglas Crockford [mailto:douglas at]
>It is not the only way. You can write an annonymous function that
>a named, recursive function. So arguments.callee is not required for
>that unlikely case.

Not exactly equivalent if you are using the function constructor.  Assuming that the outer anonymous function is the one that is defined using the function constructor, you would have to explicitly invoke the result of the constructor to obtain an instance of the inner named function. 

More information about the Es-discuss mailing list