'void' as a value

Brendan Eich brendan at mozilla.com
Sun Sep 8 16:21:06 PDT 2013

Brendan Eich wrote:
> Rather, it is the hand-coded task.js-like async libraries that will 
> have to cope with some object allocation overhead.

Even here, the destructuring optimization mentioned long ago by Lars 
Hansen (see 

   let {value, done} = task.thread.next(result);

and the object allocation could be optimized away.


More information about the es-discuss mailing list