摘要: // 定义了一个构造函数Father function Father(uname, age) { this.uname = uname; this.age = age; } // 然后在Father的原型上面挂载了一个叫say的方法 Father.prototype.say = function ( 阅读全文
posted @ 2020-04-26 16:45 深海里的星星i 阅读(175) 评论(0) 推荐(0)