On 11 November 2011 18:01, Dmitry Soshnikov <dmitry.soshni...@gmail.com>wrote:

> var foo = {
>  // do stuff
>  100;
> };
>

What would be the result of a labelled statement? You'd need labels to work
within expressions since you'd probably want to do:
x=loop:for(i=0;i<10;i++){
}

but then what if you do:
x=1/loop:for(i=0;i<10;i++){
}

Is 1 divided by the result of the for loop or is it divided by undefined?
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to