mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-28 21:32:20 +00:00
commit
ab1c5941bb
@ -516,7 +516,7 @@ let { o: ({ p: p }) } = { o: { p: 2 } };
|
|||||||
// 报错
|
// 报错
|
||||||
function f([(z)]) { return z; }
|
function f([(z)]) { return z; }
|
||||||
// 报错
|
// 报错
|
||||||
function f([z: (x)]) { return x; }
|
function f([z,(x)]) { return x; }
|
||||||
```
|
```
|
||||||
|
|
||||||
(3)赋值语句的模式
|
(3)赋值语句的模式
|
||||||
|
Loading…
x
Reference in New Issue
Block a user