Copy private symbols from one object to another

Brandon Benvie brandon at brandonbenvie.com
Mon Nov 26 10:32:40 PST 2012


Ah I guess I misread what was said back in the July meeting and then
misinterpreted the recent discussion in that framing. The recent discussion
I'm referring to is at and around
https://mail.mozilla.org/pipermail/es-discuss/2012-November/026536.html


On Mon, Nov 26, 2012 at 12:41 PM, Brendan Eich <brendan at mozilla.org> wrote:

> Brandon Benvie wrote:
>
>> By design, private symbols can only be used if you have direct access to
>> them in some way.
>>
>
> Right.
>
>
>  Public symbols should show up in getOwnPropertyNames (if I have followed
>> recent discussion correctly).
>>
>
> I don't recall this, and it's an incompatible change from ES5. Can you
> link to an es-discuss message on it?
>
>
>  The fact that private symbols must be explicitly passed around to gain
>> access to them is their primary feature.
>>
>
> Yup.
>
> /be
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121126/41cf4ff4/attachment.html>


More information about the es-discuss mailing list