大部分情况我们都可以使用JSON.parse(JSON.stringify(object))来实现深拷贝,但该方法也有局限性,如下:. 会忽略 undefined; 会忽略 symbol; 不能序列化 ...
確定! 回上一頁