Introduction, comprehensions beyond arrays

Jason Orendorff jason.orendorff at gmail.com
Thu May 16 08:31:31 PDT 2013


On Sat, May 11, 2013 at 9:04 AM, Brendan Eich <brendan at mozilla.com> wrote:

> André Bargull wrote:
>
>> No one wants arguments in arrows.
>>>
>>> The question is, should an outer arguments binding be visible? I think
>>> so, now that Jason raises the question.
>>>
>>
>> This is a different position from [1], isn't it? The notes from January
>> [2] as well as [3] might be of interest, too.
>>
>
> Thanks for the reminder -- I should have remembered this.
>
> My appeal to arguments.callee was kind of a torture-test for why arrow
> bodies should not be strict by fiat. But it shouldn't prevail if we think
> "expression TCP" is more valuable. I'd be interested in Jason's thoughts
> here.
>

No strong opinion. "Expression TCP" is nice, but not very valuable.

Assuming we do not want `arguments` bindings in arrows, I guess using
arguments in an arrow is almost certainly a mistake and should be a
SyntaxError.

We shouldn't be motivated either way by a desire to support
arguments.callee!

-j
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130516/1edba657/attachment.html>


More information about the es-discuss mailing list