摘要: function A (){ this.name = "a"; // this.bat = function(){ // alert(this.name) // } } A.prototype.bat = function(){ alert(this.name) } function B(){ A. 阅读全文
posted @ 2020-02-26 20:42 巴蒂goal 阅读(120) 评论(0) 推荐(0) 编辑