On Jun 8, 2011, at 4:04 PM, Bob Nystrom <[email protected]> wrote:

> On Wed, Jun 8, 2011 at 3:40 PM, Brendan Eich <[email protected]> wrote:
> No, it does not outlaw private and even public for class body elements that 
> define (without static or whatever we use instead of static) prototype 
> properties.
> 
> What do they accomplish? I'm guessing private places the property on the 
> private record of the prototype. What does public do?

No "private record" fiction on a plain old object such as a class prototype. 
Rather, "private" creates a private name object denoted by the declared name 
and usable after dot by that name within the class body.

"public" is symmetric longhand for what methods, accessors, and assignments as 
class body elements do in the proposal.

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

Reply via email to