aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
author李轻舟 <30641714+lqzo@users.noreply.github.com>2021-12-07 21:56:17 +0800
committerGitHub <noreply@github.com>2021-12-07 21:56:17 +0800
commit0907eee0d0d37d0e9d44a4787aaf412bff68feda (patch)
tree8a12fb7649e38ee59ab284cba498a287a1aa0f80 /files
parentfd25d575600764f45934e591c3c78a274959a36c (diff)
downloadtranslated-content-0907eee0d0d37d0e9d44a4787aaf412bff68feda.tar.gz
translated-content-0907eee0d0d37d0e9d44a4787aaf412bff68feda.tar.bz2
translated-content-0907eee0d0d37d0e9d44a4787aaf412bff68feda.zip
Remove weird styles (#3244)
* Update index.html * Update index.html Remove weird code and font face
Diffstat (limited to 'files')
-rw-r--r--files/zh-cn/web/javascript/reference/statements/async_function/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/statements/async_function/index.html b/files/zh-cn/web/javascript/reference/statements/async_function/index.html
index 3fe81b81fb..37aad08974 100644
--- a/files/zh-cn/web/javascript/reference/statements/async_function/index.html
+++ b/files/zh-cn/web/javascript/reference/statements/async_function/index.html
@@ -234,7 +234,7 @@ setTimeout(parallelPromise, 13000); // same as parallel
虽然<code>parallelPromise</code>函数示例看起来很简单,但它根本不会处理错误! 这样做需要一个类似于<code>return </code><code>Promise.all([])</code>处理方式。</p>
</div>
-<h3 id="使用async函数重写_promise_链"><code><font face="x-locale-heading-primary, zillaslab, Palatino, Palatino Linotype, x-locale-heading-secondary, serif"><span style="background-color: #333333;">使用</span></font></code>async函数重写 promise 链</h3>
+<h3 id="使用async函数重写_promise_链">使用async函数重写 promise 链</h3>
<p>返回 {{jsxref("Promise")}}的 API 将会产生一个 promise 链,它将函数肢解成许多部分。例如下面的代码:</p>