C. Scott Ananian
ecmascript at cscott.net
Mon Jun 16 08:24:18 PDT 2014
On Mon, Jun 16, 2014 at 3:06 AM, Katelyn Gadd <kg at luminance.org> 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
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.
ps. alternatively, it seems like you could use proxies to attack the
sync issue directly.
More information about the es-discuss