>> “I think it should have exactly same rules as the basic class block” – I >> agree 100%. > > But then you are negating yourself - if you allow it for static but not for > prototype, then they are not 100% same... if I can add shared data in static, > I should be able to add it to prototype - or vice versa, I can not add it to > either one.
OK, to be completely precise: The same rules should apply for both, with the exception of non-function-valued properties which are not allowed for prototypes. -- Dr. Axel Rauschmayer [email protected] home: rauschma.de twitter: twitter.com/rauschma blog: 2ality.com
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

