摘要: //A对象function A(){ this.abc = 12;}A.prototype.show = function(){ alert(this.abc);}//B对象继承Afunction B(){ //this -> new B() 继承父级属性 A.call(this);... 阅读全文
posted @ 2015-05-13 17:05 背包旅行的蚂蚁 阅读(119) 评论(0) 推荐(0) 编辑