2013/2/4 François REMY <[email protected]>

> > I don't know if native objects have a mutable [[Prototype]] (by
> > assigning __proto__) but if they do, then one solution might be to have
> > your native objects inherit from a proxy. The proxy should then be able
> > to intercept all missing properties, as I once
> > sketched:
> https://mail.mozilla.org/pipermail/es-discuss/2011-December/018834.html
>
> Good idea. Should I feel stupid for not having found the solution myself
> or be happy to have asked the question anyway? Or both :-)
>

Definitely don't feel stupid :)


> Thank you Tom, I guess it is suitable to solve my use case.
>


Glad to hear this solution would work for you.

Cheers,
Tom
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to