natively negotiating sync vs. async...without callbacks
Brendan Eich
brendan at mozilla.com
Thu Dec 9 19:09:01 PST 2010
On Dec 9, 2010, at 3:27 PM, David Herman wrote:
>> I'm not trying to open the can-o'-worms around block level changes. The above code suggests that a 'yield' suspension of execution is local to the nearest container { } block, in this case the try { } block.
>
> No, that's not the case. That code was not hypothetical: it works in SpiderMonkey using extensions that have been around for several years.
Works in Rhino too, thanks to Norris Boyd, Steve Yegge, et al.
/be
More information about the es-discuss
mailing list