That's what I thought. Didn't think I had gone crazy there.
On Jan 6, 2015 5:45 PM, "Brendan Eich" <[email protected]> wrote:
> Isiah Meadows wrote:
>
>>
>> Okay: is this a valid statement/expression? I didn't think so, but I may
>> be wrong.
>>
>> ```js
>> ({ foo(); bar(); })
>> ```
>>
>>
> It's a syntax error, in any JS repl or standard.
>
> The Node repl only removes parens if it tries adding them first around
> braced input and that fails.
>
> /be
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss