摘要: Object.create(),浅拷贝 const clone = Object.create( Object.getPrototypeOf(obj), Object.getOwnPropertyDescriptors(obj) ); Object.assign(targetObj,sourceOb 阅读全文
posted @ 2022-08-21 19:05 蓓蕾心晴 阅读(990) 评论(0) 推荐(0) 编辑