1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 21:32:20 +00:00

Merge pull request #181 from xream/patch-1

Fix typo
This commit is contained in:
Ruan YiFeng 2016-05-11 07:52:09 +08:00
commit 621ac69480

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