Re: document.register and ES6

On Wed, Feb 6, 2013 at 5:27 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> Note that I'm still checking how feasible this is in SpiderMonkey on any
> sort of finite timeframe, if we do decide to do this.  Functions right now
> don't have a [[Construct]] member in spidermonkey that's stored on a
> function directly; it's stored on a shared data structure.  So it's
> impossible to change the [[Construct]] of a single function as things
> stand...

This refactoring is needed for ES6 anyway so it might be worth looking
into no matter what.

For V8 we don't have a way to do this at the moment but I was told
that it should be easy to fix.

-- 
erik

Received on Wednesday, 6 February 2013 17:08:39 UTC