diff --git a/docs/destructuring.md b/docs/destructuring.md index bf0bd4d..188b83f 100644 --- a/docs/destructuring.md +++ b/docs/destructuring.md @@ -511,7 +511,7 @@ let {(x): c} = {}; let { o: ({ p: p }) } = { o: { p: 2 } }; ``` -上面三个语句都会报错,因为它们都是变量声明语句,模式不能使用圆括号。 +上面6个语句都会报错,因为它们都是变量声明语句,模式不能使用圆括号。 (2)函数参数中,模式不能带有圆括号。