From 49919866cdfe5500b11c332c31c4e315a4bd28a2 Mon Sep 17 00:00:00 2001 From: Jacty Date: Fri, 23 Sep 2016 11:22:28 +0800 Subject: [PATCH] Update destructuring.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正395行错别字:‘结构’-》‘解构’ --- docs/destructuring.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/destructuring.md b/docs/destructuring.md index 79fcf48..c22338e 100644 --- a/docs/destructuring.md +++ b/docs/destructuring.md @@ -392,7 +392,7 @@ first // 1 last // 3 ``` -上面代码对数组进行对象结构。数组`arr`的`0`键对应的值是`1`,`[arr.length - 1]`就是`2`键,对应的值是`3`。方括号这种写法,属于“属性名表达式”,参见《对象的扩展》一章。 +上面代码对数组进行对象解构。数组`arr`的`0`键对应的值是`1`,`[arr.length - 1]`就是`2`键,对应的值是`3`。方括号这种写法,属于“属性名表达式”,参见《对象的扩展》一章。 ## 字符串的解构赋值