(Almost) everything is expression
gaz Heyes
gazheyes at gmail.com
Fri Nov 11 07:40:37 PST 2011
On 11 November 2011 15:33, Mark S. Miller <erights at google.com> wrote:
> let a = ({
>>
>> print('doing stuff');
>> 100;
>> });
>>
>
How do you know the difference between a blank block statement and a object
literal? Surely it becomes an expression once an assignment occurs anyway.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20111111/2ab6e972/attachment.html>
More information about the es-discuss
mailing list