On ES Harmony proxies extensibility

Mark S. Miller erights at google.com
Fri Jan 21 16:54:59 PST 2011


On Fri, Jan 21, 2011 at 2:45 PM, David Herman <dherman at mozilla.com> wrote:

> > Should we have a no-op or "sink" standard handler too?
>
> I think so, yes. Especially since you can use that to build one up that
> implements just the other traps you want to implement, and let the others
> "fail soft."
>

How would it be different from

    new Proxy.Handler(Object.create(null, {}))

?

Or, depending on how soft you want to fail

    new Proxy.Handler(null)

?

If there is a useful difference, I have no objection.


>
> Dave
>
>


-- 
    Cheers,
    --MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110121/7fd1e44c/attachment.html>


More information about the es-discuss mailing list