> In order to satisfy security guarantees, properties which are keys onĀ 
> private symbols are not returned by getOwnPropertyNames. 

That's why the methods are bound to the original object.

I realize, however, that non-method properties don't work correctly this way 
(so I probably just should have not sent my original message). Accessors could 
be used. You'd probably make the point that having private symbols around 
introduces these kinds of confusions. My opinion is I don't think it's that 
hard to learn how private symbols work and develop a consistent approach to 
mixins if you want to use them.

Nathan                                    
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to