摘要: 1、原型链继承 function A(name) { this.name = name } A.prototype.getName = function() { return this.name } function B() { this.bName = "L" } B.prototype = ne 阅读全文
posted @ 2021-03-10 12:05 console.log('宇航') 阅读(117) 评论(0) 推荐(0) 编辑