aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
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};