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 32d41eb commit a58c57d
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 @@ -88,7 +88,7 @@ while (queue.waitForMessage()) {
const seconds = new Date().getTime() / 1000;

setTimeout(() => {
// 输出 "2",表示回调函数并没有在 500 毫秒之后立即执行
// 输出“2”,表示回调函数并没有在 500 毫秒之后立即执行
console.log(`Ran after ${new Date().getTime() / 1000 - seconds} seconds`);
}, 500);

Expand Down

0 comments on commit a58c57d

Please sign in to comment.