Not sure; I'll think about it. Though abstracting 
Proxy.Handler(Object.create(null, {})) might in fact be a worthwhile 
convenience.

Dave

"Mark S. Miller" <[email protected]> wrote:

>On Fri, Jan 21, 2011 at 2:45 PM, David Herman <[email protected]>
>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

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to