1
0
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:
ruanyf 2016-05-11 19:56:09 +08:00
commit 438e35c162

View File

@ -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 ) {
} }