1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-27 20:32:21 +00:00
typo
This commit is contained in:
Jacty 2017-04-25 21:30:00 +08:00 committed by GitHub
parent 9c6c5b8d73
commit 34f321ec99

View File

@ -1166,7 +1166,7 @@ let runtimeError = {
};
```
如果扩展运算符的参数是`null``undefined`,这两个值会被忽略,不会报错。
如果扩展运算符的参数是`null``undefined`,这两个值会被忽略,不会报错。
```javascript
let emptyObject = { ...null, ...undefined }; // 不报错