2011/4/19 Bob Nystrom <[email protected]>:
> On Mon, Apr 18, 2011 at 7:46 PM, Mike Samuel <[email protected]> wrote:
>>
>> If I understand semicolon elision, then
>> myLabel:
>> for (;;) {}
>>
>> would be interpreted as
>>
>> myLabel: ;
>> for (;;) {}
>
> I'm still learning to details of the ES grammar, but I didn't think there
> were cases where a ";" is valid after a ":". Object literals need a value
> after it, labels need a subsequent statement, and switch cases need a
> statement, right?

>From section 12.3
EmptyStatement :
    ;
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to