arguments.callee and strict mode

Allen Wirfs-Brock Allen.Wirfs-Brock at
Tue Mar 10 08:52:03 PDT 2009

In reviewing the spec. I was reminded that arguments.callee is disabled within strict mode functions.  Do you recall why you wanted to do this, other than general dislike of arguments.  It occurs to me, that using arguments.callee is the only way  to express recursion within a function created using the Function constructor and that use of the Function constructor (rather than eval) should probably be encouraged for dynamically constructing functions from source code.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Es-discuss mailing list