Subj : Re: Strange ".constructor" behaviour -- I don't understand something, but what?! To : netscape.public.mozilla.jseng From : Lev Serebryakov Date : Tue Oct 04 2005 07:53 am > var c = new Class(); > as the second line? Yes, of course. Typo. > You are not adding some methods you are creating a new prototype object > that way. Yes. But not new constructor! So, default prototype object contains "prototype" property magically added to it, not to object when it is created? Ok, I'll correct "constructor" property in my code and everything works well. BTW, I don't like such style of adding methods because here are no simple way to add getters/setters (__defineGetter__() and __defineSetter__() looks too ugly)... -- // Lev Serebryakov .