Subj : Strange ".constructor" behaviour -- I don't understand something, but what?! To : netscape.public.mozilla.jseng From : Lev Serebryakov Date : Tue Oct 04 2005 06:40 am Every object has constructor. Object's prototype is resolved as it's constructor "prototype" property. It is Ok. So, try this: function Class() {} var c = Class(); print(c.constructor); Yes, it outputs "function Class() {}". It is Ok. It is exactly what I expect. Add some methods to this class: function Class() {} Class.prototype = { method: function() {} }; var c = Class(); print(c.constructor); And output will be "function Object() { [native code] }". But WHY?! How could I get constructor of some object, which have prototype? -- // Lev Serebryakov .