Better property behavior

Tom Van Cutsem tomvc.be at gmail.com
Tue Jan 1 03:15:44 PST 2013


2012/12/31 Brendan Eich <brendan at mozilla.com>

> Allen Wirfs-Brock wrote:
>
>> 1a can also be handled by your proxy's put trap.  All it needs to do is
>> refuse to create new properties on the "receiver" object.
>>
>
> Is the trap still called 'set'? Just keeping up ;-).


Yes. In Allen's latest draft, there's still a Put "abstract operation", but
it calls [[Set]], which in turn triggers the "set" trap on a proxy.

Cheers,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130101/55889af2/attachment.html>


More information about the es-discuss mailing list