return when desugaring to closures
Brendan Eich
brendan at mozilla.com
Wed Oct 15 18:43:21 PDT 2008
On Oct 15, 2008, at 6:13 PM, Brendan Eich wrote:
> On Oct 15, 2008, at 2:36 PM, Waldemar Horwat wrote:
>
>> There is no such thing as a "let expression".
>
> Let expressions in JS1.7 (Firefox 2+), based on the ES4 proposal.
> ES3-ish grammar:
>
> LetExpression :
> let ( VariableDeclarationList ) [lookahead ∉ {{}]
> AssignmentExpression
Rather,
LetExpression :
let ( VariableDeclarationList ) AssignmentExpression
/be
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mozilla.org/pipermail/es-discuss/attachments/20081015/3bb2e1c0/attachment.html
More information about the Es-discuss
mailing list