摘要: 实例代码如下 class Person { constructor(name){ if(!arguments.length){ console.log("我是个人") } else { console.log(`我是${name}`) } } call(){ console.log("人能说话") 阅读全文
posted @ 2023-04-06 17:31 花粉回家 阅读(21) 评论(0) 推荐(0)