Private Slots

Kevin Smith khs4473 at gmail.com
Mon Jan 14 08:38:40 PST 2013


> There is no "new kind of slot".  Symbols, private and otherwise, go in
> exactly the same kind of slot as any other object property.
>

Slots keyed with private symbols have different, novel behavior.  Behavior
that did not exist before.  At the very least, these slots are:

1) Strongly non-reflective
2) Unfreezable

At a conceptual level, they change the nature of "ownership" with respect
to slots.

{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130114/9e9aa930/attachment.html>


More information about the es-discuss mailing list