instanceof trap and default handler for Proxies

David Herman dherman at
Sat Oct 30 08:53:28 PDT 2010

> I assume the answer is no, but can one proxy simple modules?

I can think of two ways to read this question. If you mean "can one simulate simple modules with proxies" the answer is no -- you can't dynamically simulate something with static semantics. If you mean "can one create a proxy that delegates to a module" the answer is yes: because simple modules can be reflected as objects at runtime, you can use any kind of dynamic delegation patterns you like, including via proxies.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list