Allen Wirfs-Brock wrote:
Can someone remind me what we decided about 'arguments' and arrow
functions. I pretty sure we discussed this recently and reach some
conclusion but I can't find it in either meeting notes or es-discuss.
And I don't trust the correctness of what the spec. draft currently
says about this.
Any pointers?
"""
The /Identifier/ primary expression |arguments| may not be used in an
arrow function’s body (whether expression or block form).
Likewise, |yield| may not be used in an arrow function’s body. Arrows
cannot be generators and we do not want deep continuations.
"""
from http://wiki.ecmascript.org/doku.php?id=harmony:arrow_function_syntax.
Meeting notes back this.
/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss