Skip to content

Commit 5d84543

Browse files
authored
Update solution.md
1 parent 96c53cf commit 5d84543

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • 1-js/02-first-steps/12-while-for/1-loop-last-value

1-js/02-first-steps/12-while-for/1-loop-last-value/solution.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ while (i) {
88
}
99
```
1010

11-
每次循环迭代都将 `i` `1`当 `i=0` 时,检查 `while(i)` 停止循环
11+
每次循环迭代都将 `i` `1`当检查到 `i = 0` 时,`while(i)` 循环停止
1212

13-
因此,循环的步骤形成以下序列(“循环展开”):
13+
因此,此循环执行的步骤如下(“循环展开”):
1414

1515
```js
1616
let i = 3;
@@ -21,5 +21,5 @@ alert(i--) // 显示 2,i 减至 1
2121

2222
alert(i--) // 显示 1,i 减至 0
2323

24-
// 完成,while(i) 检查并停止循环
24+
// 完成,while(i) 检查循环条件并停止循环
2525
```

0 commit comments

Comments
 (0)