probe = new Funct(); probe.test; function Funct() { this.aaa = 'aaa'; }; Funct.prototype = { test: function () { alert(2); return this; } };