From d44f5032d0f53256b2d5aef505d6b593fd3cd158 Mon Sep 17 00:00:00 2001 From: Irvin Date: Wed, 16 Feb 2022 02:14:18 +0800 Subject: fix yari h2m dry run errors (zh-CN) --- files/zh-cn/web/javascript/eventloop/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files/zh-cn/web/javascript/eventloop') diff --git a/files/zh-cn/web/javascript/eventloop/index.html b/files/zh-cn/web/javascript/eventloop/index.html index bb8dd97448..9720de3eb0 100644 --- a/files/zh-cn/web/javascript/eventloop/index.html +++ b/files/zh-cn/web/javascript/eventloop/index.html @@ -21,7 +21,7 @@ translation_of: Web/JavaScript/EventLoop

可视化描述

-

Stack, heap, queue

+

Stack, heap, queue

@@ -77,7 +77,7 @@ console.log(bar(7)); // 返回 42

下面的例子演示了这个概念(setTimeout 并不会在计时器到期之后直接执行):

-
const s = new Date().getSeconds();
+
const s = new Date().getSeconds();
 
 setTimeout(function() {
   // 输出 "2",表示回调函数并没有在 500 毫秒之后立即执行
-- 
cgit v1.2.3-54-g00ecf