diff --git a/docs/destructuring.md b/docs/destructuring.md index dfcdafe..e178a35 100644 --- a/docs/destructuring.md +++ b/docs/destructuring.md @@ -75,6 +75,8 @@ b // 2 d // 4 ``` +上面代码的两个例子,都属于不完全解构,但是可以成功。 + 如果对undefined或null进行解构,会报错。 ```javascript