Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLamv-t authored Nov 22, 2023
1 parent 7c7c4ed commit d5ee645
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ function doIt() {
- 确保你正确地定义了初始化器,对 `for...of` 使用 `const` 关键字,或对其他循环使用 `let`。注意不要遗漏。以下是正确的示例:

```js example-good
const cats = ["Athena", "Luna"];
const cats = ["汤姆", "胖橘"];
for (const cat of cats) {
console.log(cat);
}
Expand Down

0 comments on commit d5ee645

Please sign in to comment.