2020年5月13日
摘要: 1、原型链继承 function Parent () { this.name = 'kevin';} Parent.prototype.getName = function () { console.log(this.name);} function Child () { } Child.proto 阅读全文
posted @ 2020-05-13 09:32 颉旺飞 阅读(270) 评论(0) 推荐(0) 编辑