aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorhelloking000 <798859380@qq.com>2021-03-18 14:22:25 +0800
committerIrvin <irvinfly@gmail.com>2021-03-24 12:33:29 +0800
commitbef8694d2188cf154cd20a23329e5ab389e5f724 (patch)
tree1f45b94224615f32cb3989adac245317f3461027 /files
parentdf6d74c517e9fe5e05ab48bf5b588dea5fcf202e (diff)
downloadtranslated-content-bef8694d2188cf154cd20a23329e5ab389e5f724.tar.gz
translated-content-bef8694d2188cf154cd20a23329e5ab389e5f724.tar.bz2
translated-content-bef8694d2188cf154cd20a23329e5ab389e5f724.zip
Update index.html
Diffstat (limited to 'files')
-rw-r--r--files/zh-cn/web/javascript/reference/operators/destructuring_assignment/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/operators/destructuring_assignment/index.html b/files/zh-cn/web/javascript/reference/operators/destructuring_assignment/index.html
index 39d57a75d7..b0b6f81ea0 100644
--- a/files/zh-cn/web/javascript/reference/operators/destructuring_assignment/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/destructuring_assignment/index.html
@@ -209,7 +209,7 @@ console.log(bar); // true </pre>
<h3 id="默认值_2">默认值</h3>
-<p>变量可以先赋予默认值。当要提取的对象没有对应的属性,变量就被赋予默认值。</p>
+<p>变量可以先赋予默认值。当要提取的对象对应属性解析为 undefined,变量就被赋予默认值。</p>
<pre class="brush: js">var {a = 10, b = 5} = {a: 3};