摘要: 案例一: function Cat(name, color) { return { name: name || 'cat', color: color || 'black' } } const cat1 = new Cat('kity', 'white') const cat2 = new Cat( 阅读全文
posted @ 2020-09-14 16:24 点点乐淘淘 阅读(140) 评论(0) 推荐(0) 编辑