1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 10:22:23 +00:00
This commit is contained in:
Hsiaoyi Hsu 2016-05-09 16:48:54 +08:00
parent f01feb47a2
commit 645695a129

View File

@ -286,7 +286,7 @@ const boundMethod = (...params) => method.apply(this, params);
所有配置项都应该集中在一个对象,放在最后一个参数,布尔值不可以直接作为参数。
```bash
```javascript
// bad
function divide(a, b, option = false ) {
}