return when desugaring to closures

Waldemar Horwat waldemar at google.com
Mon Oct 13 14:59:22 PDT 2008


David Herman wrote:
>>       if (h == 0)
>>         h = function() {break};
> 
> Did you mean if (x == 0)? That's been confusing me in trying to read your example.

No.  I meant the code as it was originally written.

    Waldemar


More information about the Es-discuss mailing list