Skip to content

Commit

Permalink
Update files/zh-cn/web/javascript/event_loop/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: A1lo <[email protected]>
  • Loading branch information
familyboat and yin1999 authored Oct 26, 2024
1 parent 46a0c40 commit 3f27051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/zh-cn/web/javascript/event_loop/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ setTimeout(() => {

while (true) {
if (new Date().getTime() / 1000 - seconds >= 2) {
console.log("Good, looped for 2 seconds");
console.log("很好,在 2 秒后循环");
break;
}
}
Expand Down

0 comments on commit 3f27051

Please sign in to comment.