typo
This commit is contained in:
Jacty
2017-04-25 21:30:00 +08:00
committed by GitHub
parent 9c6c5b8d73
commit 34f321ec99
+1 -1
View File
@@ -1166,7 +1166,7 @@ let runtimeError = {
};
```
如果扩展运算符的参数是`null``undefined`,这两个值会被忽略,不会报错。
如果扩展运算符的参数是`null``undefined`,这两个值会被忽略,不会报错。
```javascript
let emptyObject = { ...null, ...undefined }; // 不报错