2021年2月24日
摘要: 一、原型链继承 function a() { this.speack = function () { console.log('第一个元素'); } } function b() { this.ask = function () { console.log('第二个元素'); } } b.proto 阅读全文
posted @ 2021-02-24 10:40 随心的博客 阅读(145) 评论(0) 推荐(0) 编辑