On 11 November 2011 15:33, Mark S. Miller <erig...@google.com> wrote:

> Insist on enclosing parens, since
>   "(" introductory-token
> is not otherwise legal
>
> let a = ({
>>
>>  print('doing stuff');
>>  100;
>> });
>>
>
> Even the last is now easily unambiguous.
>
>
And is this not clearer than

let a = {||

 print('doing stuff');
 100;
};

-- 
Neil
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to