Skip to content

Commit a88bd05

Browse files
committed
delete some blank lines
1 parent 3a77af5 commit a88bd05

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

javascript-code-style.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,38 +38,29 @@ c = d * (e + f);
3838
// 用作代码块起始的左大括号`{`前,包括`if`、`else`、`try`、`finally`这些关键字之后
3939
// 以及**函数定义的参数列表**之后
4040
if (condition) {
41-
4241
}
4342
else (condition) {
44-
4543
}
4644

4745
try {
48-
4946
}
5047
finally {
51-
5248
}
5349

5450
function test(param) {
55-
5651
}
5752

5853
// 以下关键字之后:`for`、`switch`、`while`、`function`
5954
for (i = 0; i < len; i++) {
60-
6155
}
6256

6357
while (len--) {
64-
6558
}
6659

6760
function test(param) {
68-
6961
}
7062

7163
switch (typeof variable) {
72-
7364
}
7465

7566
// 对象初始化(`{ ... }`)的每个属性名的冒号`:`后
@@ -80,7 +71,6 @@ var person = {
8071

8172
// 所有逗号`,`后
8273
function test(param1, param2, param3) {
83-
8474
}
8575

8676
// 单行的对象初始化(`{ ... }`)左大括号`{`后和右大括号`}`前

0 commit comments

Comments
 (0)