We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19fba9d commit 1e52203Copy full SHA for 1e52203
1 file changed
1-js/04-object-basics/01-object/article.md
@@ -694,7 +694,7 @@ alert(clone.sizes.width); // 51,在这里查看属性的值
694
695
为了解决上面的的问题,我们在复制的时候应该检查 `user[key]` 的每一个值,如果是一个对象,我们再复制一遍这个对象,这叫做深拷贝。
696
697
-有一个标准的深拷贝算法,解决上面和一些更复杂的情况,叫做 [Structured cloning algorithm](https://w3c.github.io/html/infrastructure.html#internal-structured-cloning-algorithm)。为了不重复造轮子,我们使用它的一个 JS 实现的库 [lodash](https://lodash.com), 方法名叫做 [_.cloneDeep(obj)](https://lodash.com/docs#cloneDeep)。
+有一个标准的深拷贝算法,解决上面和一些更复杂的情况,叫做 [Structured cloning algorithm](https://html.spec.whatwg.org/multipage/structured-data.html#safe-passing-of-structured-data)。为了不重复造轮子,我们使用它的一个 JS 实现的库 [lodash](https://lodash.com), 方法名叫做 [_.cloneDeep(obj)](https://lodash.com/docs#cloneDeep)。
698
699
## 总结
700
0 commit comments