mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 11:12:21 +00:00
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
This commit is contained in:
commit
438e35c162
@ -286,7 +286,7 @@ const boundMethod = (...params) => method.apply(this, params);
|
||||
|
||||
所有配置项都应该集中在一个对象,放在最后一个参数,布尔值不可以直接作为参数。
|
||||
|
||||
```bash
|
||||
```javascript
|
||||
// bad
|
||||
function divide(a, b, option = false ) {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user