1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 21:32:20 +00:00

Merge pull request #471 from Jet12138/patch-1

改个标点符号
This commit is contained in:
Ruan YiFeng 2017-08-09 17:45:41 +08:00 committed by GitHub
commit ab1c5941bb

View File

@ -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赋值语句的模式