Skip to content

Commit e2d5dc9

Browse files
committed
Fix wrong words
1 parent ff3a3ad commit e2d5dc9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

es5/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@
10511051
var totalScore = this.reviewScore + ' total score';
10521052
```
10531053

1054-
- 使用 `parseInt` 转换数字并且总是带上类型转换的基数
1054+
- 使用 `parseInt` 转换数字时总是带上类型转换的基数
10551055

10561056
```javascript
10571057
var inputValue = '4';
@@ -1115,7 +1115,7 @@
11151115

11161116
## <a name="naming-conventions">命名规则</a>
11171117

1118-
- 避免单字幕命名。命名应具备描述性。
1118+
- 避免单字母命名。命名应具备描述性。
11191119

11201120
```javascript
11211121
// bad
@@ -1143,7 +1143,7 @@
11431143
function thisIsMyFunction() {}
11441144
```
11451145

1146-
- 使用帕斯卡式(所有单词首字母大写)命名构造函数或类
1146+
- 使用帕斯卡式命名构造函数或类
11471147

11481148
```javascript
11491149
// bad

0 commit comments

Comments
 (0)