> I think this is a key point. Things like 'new Proxy(new Date,
> {}).getDate()' just don't work as expected with direct proxies and we have
> not been able to fix that while maintaining other important semantic
> requirements. If JS programmer have an expectation that they can usefully
> write such code they are going to be disappointed. Direct proxies seem to
> be a fine primitive for implementing membranes and some virtual objects.
> They aren't good for things like this Date example.
>
I think that transparently interceding in front of an object with private
state is a questionable endeavor in any case.
{ Kevin }
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss