var People=function(){}; $.extend(People.prototype,{ say:function(){alert(1);} } ); var p=new People(); p.say();