摘要: const myDeepCopy = JSON.parse(JSON.stringify(myOriginal)); 这种方法缺点很多: 循环引用:JSON.stringify() 的对象中如果有循环引用会抛出异常 Converting circular structure to JSON。 其他数 阅读全文
posted @ 2021-12-27 18:23 远方的少年🐬 阅读(43) 评论(0) 推荐(0) 编辑