Modified just a small comment

This commit is contained in:
Hari Shekhar 2017-11-28 11:05:33 +05:30 committed by GitHub
parent 4b02949e95
commit f03a0edcb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -478,8 +478,8 @@ Please note that such destructuring assumes that `showMenu()` does have an argum
```js
showMenu({});
// that would give an error
showMenu();
showMenu(); // this would give an error
```
We can fix this by making `{}` the default value for the whole destructuring thing: