On Mon, Jun 16, 2014 at 3:06 AM, Katelyn Gadd <[email protected]> wrote: > emscripten/asm.js) will face similar issues. The other compilers I've > seen that tackle this solution efficiently do so by abandoning the > 'new' keyword in favor of magic methods, which I consider a poor > solution.
I'd be interested in hearing more about why you feel this is a poor solution. It seems to me that two part construction would work fine -- that is, don't let the code inside the Function object access the prototype until the appropriate properties have been set, so you don't have a sync issue. --scott ps. alternatively, it seems like you could use proxies to attack the sync issue directly. _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

