Skip to content

Commit 0a59ce8

Browse files
authored
Merge pull request ruanyf#875 from bigbird231/gh-pages
【编程风格】用词修改
2 parents 95d62ea + 61d8735 commit 0a59ce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ const nodes = Array.from(foo);
250250
})();
251251
```
252252

253-
那些需要使用函数表达式的场合,尽量用箭头函数代替。因为这样更简洁,而且绑定了 this。
253+
那些需要使用内联函数(或匿名函数)的场合,尽量用箭头函数代替。因为这样更简洁,而且绑定了 this。
254254

255255
```javascript
256256
// bad

0 commit comments

Comments
 (0)