var a = function () {} a.prototype.get = function(name) { alert(name); } var b = new a(); b.get("рони");