摘要: function Test002(name, age){ name, age, this.printInfo = function(){ //定义的公有方法 console.log(name, age); } } let test002 = new Test002("weisheng", 32) t 阅读全文
posted @ 2021-07-27 21:31 小德cyj 阅读(545) 评论(0) 推荐(0) 编辑
摘要: function Test002(name, age){ name, age, this.printInfo = function(){ //定义的公有方法 console.log(name, age); } } let test002 = new Test002("weisheng", 32) t 阅读全文
posted @ 2021-07-27 21:31 小德cyj 阅读(206) 评论(0) 推荐(0) 编辑