Merge pull request #875 from bigbird231/gh-pages

【编程风格】用词修改
This commit is contained in:
Ruan YiFeng
2019-07-01 13:51:27 +08:00
committed by GitHub
+1 -1
View File
@@ -250,7 +250,7 @@ const nodes = Array.from(foo);
})();
```
那些需要使用函数表达式的场合,尽量用箭头函数代替。因为这样更简洁,而且绑定了 this。
那些需要使用内联函数(或匿名函数)的场合,尽量用箭头函数代替。因为这样更简洁,而且绑定了 this。
```javascript
// bad