On Jun 8, 2011, at 11:13 AM, Bob Nystrom wrote:

> Either I'm out-of-date or the wiki page is. My understanding is that at the 
> TC39 meetings we decided to move instance and private record declarations out 
> of the class body and into the constructor. If that's the case, this should 
> be less confusing. You can no longer use "public" or "private" at the class 
> body level. So that example becomes:

Yes, the proposal puts instance property/variable declarations in the 
constructor body.

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.

/be

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

Reply via email to