aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authoraotushi <75104303+aotushi@users.noreply.github.com>2022-03-15 21:49:22 +0800
committerGitHub <noreply@github.com>2022-03-15 21:49:22 +0800
commitf73476ee1503c3765f586bb5196279cff3634b9c (patch)
treea37a3a04bea2e9a464f15280a311c3d6bbd732f7 /files
parent734aab7ab9470083b630b87e43eef45f26b2a481 (diff)
downloadtranslated-content-f73476ee1503c3765f586bb5196279cff3634b9c.tar.gz
translated-content-f73476ee1503c3765f586bb5196279cff3634b9c.tar.bz2
translated-content-f73476ee1503c3765f586bb5196279cff3634b9c.zip
fix translation (#4605)
翻译错误
Diffstat (limited to 'files')
-rw-r--r--files/zh-cn/web/javascript/reference/operators/object_initializer/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/operators/object_initializer/index.html b/files/zh-cn/web/javascript/reference/operators/object_initializer/index.html
index 0cf6e54f9d..0b7bc92a88 100644
--- a/files/zh-cn/web/javascript/reference/operators/object_initializer/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/object_initializer/index.html
@@ -194,7 +194,7 @@ console.log(config); // { size: 12, mobileSize: 4 }</pre>
<p> </p>
-<p>ECMAScript 提案(第3阶段)的<a href="https://github.com/tc39/proposal-object-rest-spread">剩余/扩展属性</a>将<a href="/zh-CN/docs/Web/JavaScript/Reference/Operators/Spread_operator">扩展</a>属性添加到对象文字。它将自己提供的对象的枚举属性复制到一个新的对象上。</p>
+<p>ECMAScript 提案(第3阶段)的<a href="https://github.com/tc39/proposal-object-rest-spread">剩余/扩展属性</a>将<a href="/zh-CN/docs/Web/JavaScript/Reference/Operators/Spread_operator">扩展</a>属性添加到对象字面量。它将自己提供的对象的枚举属性复制到一个新的对象上。</p>
<p>使用比{{jsxref("Object.assign()")}}更短的语法,可以轻松克隆(不包括原型)或合并对象。</p>