摘要: 工厂模式 function createObj (name, age, sex) { const obj = new Object() obj.name = name obj.age = age obj.sex = sex obj.sayName = function () { console.lo 阅读全文
posted @ 2021-01-20 11:25 _大可乐 阅读(52) 评论(0) 推荐(0) 编辑