编写一个b继承a的方法 function a(){ this.run = function(){ console.log("run方法"); } } function b(){ }; b.prototype = new a(