Subj : Re: Private Data and Prototype Inheritance To : netscape.public.mozilla.jseng From : "Kevin Lindsey" Date : Fri Jan 09 2004 06:00 pm Brendan Eich wrote: > I hope this is clear. It's not a matter of language design, rather of > engine implementation. The JSCLASS_HAS_PRIVATE flag is hidden, and you > can't make a user-defined JSClass anyway, or call JS_GetPrivate or > JS_SetPrivate from script. Yes. This makes perfect sense. > It's still possible to extend native classes, but you'll need either to > use property (not private data slot) storage in the native base class, > or else to wrap. I'm confident the property approach will work. Thanks again, Kevin .