Skip to content

Commit

Permalink
fix(loop): number → num (#1742)
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Jun 7, 2024
1 parent 3d9d68b commit a334220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/basic/loop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ while (条件式) {

<!-- doctest:disable -->
```js
if (isEven(number)) {
results.push(number);
if (isEven(num)) {
results.push(num);
}
```

Expand Down

0 comments on commit a334220

Please sign in to comment.