摘要: 原型继承 // ES5继承:prototype function User(username,password){ this.username = username this.password = password this.login = function () { console.log("登录 阅读全文
posted @ 2021-07-23 15:22 `Duet` 阅读(28) 评论(0) 推荐(0) 编辑