instanceof trap and default handler for Proxies

Tom Van Cutsem tomvc.be at gmail.com
Sun Oct 31 07:27:33 PDT 2010


Hi Kam,

How 'bout extending proxies to provide an introspection API?
>

I'm not sure what you mean by this. Javascript's built-in features + the
many built-ins defined on Object already provide ample support for
introspection on objects (and proxied objects).

Cheers,
Tom



>
> ------------------------------
> *From:* Tom Van Cutsem <tomvc.be at gmail.com>
> *To:* es-discuss <es-discuss at mozilla.org>
> *Sent:* Thu, October 28, 2010 6:02:11 AM
> *Subject:* instanceof trap and default handler for Proxies
>
> Hi,
>
> I created a strawman page to host possible extensions to harmony:proxies:
> <http://wiki.ecmascript.org/doku.php?id=strawman:proxy_extensions>
>
> It currently hosts two extensions:
> - enabling proxies to trap instanceof
> - standardizing the default "no-op" forwarding handler
>
> At least the first will be on the agenda for the November TC39 meeting.
>
> Please comment and discuss.
>
> Cheers,
> Tom
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20101031/ba7d04eb/attachment.html>


More information about the es-discuss mailing list