>-----Original Message----- >From: Douglas Crockford [mailto:doug...@crockford.com] >It is not the only way. You can write an annonymous function that >returns >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. _______________________________________________ Es-discuss mailing list Es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss