Self-recursion and arrow functions

Brandon Benvie bbenvie at
Sat Mar 16 14:41:14 PDT 2013

I think this is a better argument for introducing a new primitive for referencing the current function than for resurrecting arguments.

On Mar 16, 2013, at 2:29 PM, Axel Rauschmayer <axel at> wrote:

> Quoting Brendan Eich in [1]:
>> arrows can't have intrinsic names (contrast with NFEs) so arguments.callee may be wanted, so arrows should not be strict-only.
> Is this really an option? Sounds messy. Like a carrot to go back to non-strict. I’d either allow arguments.callee in both modes. Or introduce a new mechanism for a function to refer to itself. I thought that `arguments` would disappear from JavaScript code over time so the latter alternative seems better.
> Axel
> [1]
> -- 
> Dr. Axel Rauschmayer
> axel at
> home:
> twitter:
> blog:
> _______________________________________________
> es-discuss mailing list
> es-discuss at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list