diff options
author | t7yang <t7yang@gmail.com> | 2022-01-10 08:38:07 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-02-16 02:35:54 +0800 |
commit | 12a899ab8540bc84f56a0dc6491be80a48499d49 (patch) | |
tree | 45921c6cb67169c837b9bc73b56f469a7c1c24bf /files/zh-tw/web/javascript/reference/global_objects/object/assign/index.html | |
parent | 563ca0a35e98678e2b7d5f154f31f496851e8d60 (diff) | |
download | translated-content-12a899ab8540bc84f56a0dc6491be80a48499d49.tar.gz translated-content-12a899ab8540bc84f56a0dc6491be80a48499d49.tar.bz2 translated-content-12a899ab8540bc84f56a0dc6491be80a48499d49.zip |
remove name attribute for zh-TW
Diffstat (limited to 'files/zh-tw/web/javascript/reference/global_objects/object/assign/index.html')
-rw-r--r-- | files/zh-tw/web/javascript/reference/global_objects/object/assign/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-tw/web/javascript/reference/global_objects/object/assign/index.html b/files/zh-tw/web/javascript/reference/global_objects/object/assign/index.html index a95240343f..fc2306a8a1 100644 --- a/files/zh-tw/web/javascript/reference/global_objects/object/assign/index.html +++ b/files/zh-tw/web/javascript/reference/global_objects/object/assign/index.html @@ -45,7 +45,7 @@ var copy = Object.assign({}, obj); console.log(copy); // { a: 1 } </pre> -<h3 id="Deep_Clone" name="Deep_Clone">警告:非深層複製</h3> +<h3 id="Deep_Clone">警告:非深層複製</h3> <p>深層複製(deep clone)需要使用其他的替代方案,因為 <code>Object.assign()</code> 僅複製屬性值。若來源物件的值參照到一個子物件,它只會複製該子物件的參照。</p> |