Proxying Native Objects: Use case
Tom Van Cutsem
tomvc.be at gmail.com
Tue Feb 5 03:26:40 PST 2013
2013/2/4 François REMY <francois.remy.dev at outlook.com>
> > 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:
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss