mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
Fix typo
This commit is contained in:
parent
f01feb47a2
commit
645695a129
@ -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