摘要: 一、构造函数继承 function Parent() { this.money = '2亿' this.eat = function () { console.log('吃饭') } } function Son(name, age) { Parent.apply(this, arguments) 阅读全文
posted @ 2020-12-02 22:26 zshNo1 阅读(76) 评论(0) 推荐(0) 编辑