mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 19:22: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
|
// bad
|
||||||
function divide(a, b, option = false ) {
|
function divide(a, b, option = false ) {
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user