1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

Update destructuring.md

This commit is contained in:
UFOwl 2016-05-28 21:13:57 +08:00
parent e27a4a96ce
commit 106aed6553

View File

@ -520,7 +520,7 @@ function f([(z)]) { return z; }
([a]) = [5];
```
上面代码将整个模式放在模式之中,导致报错。
上面代码将整个模式放在圆括号之中,导致报错。
```javascript
// 报错