首先基类: RectAngle = function(w, h){ this.w = w; this.h = h;}RectAngle.prototype.area = function(){ return this.w*this.h;}RectAngle = function(w, h){ this.w = 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交