aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/operators/await/index.html
diff options
context:
space:
mode:
authorIrvin <irvinfly@gmail.com>2022-02-16 02:08:24 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commit8d1313c84cc82d81363ed62b75baedb9a65ff2e3 (patch)
treefcf531cdea6491c848cc17fc44efe5b18466e54b /files/zh-cn/web/javascript/reference/operators/await/index.html
parenta2617e517fe48fbd0fc283e05c82e32765a3fb12 (diff)
downloadtranslated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.tar.gz
translated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.tar.bz2
translated-content-8d1313c84cc82d81363ed62b75baedb9a65ff2e3.zip
remove font tag in zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/operators/await/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/operators/await/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/javascript/reference/operators/await/index.html b/files/zh-cn/web/javascript/reference/operators/await/index.html
index fe95e7ddf2..0183f4d7ae 100644
--- a/files/zh-cn/web/javascript/reference/operators/await/index.html
+++ b/files/zh-cn/web/javascript/reference/operators/await/index.html
@@ -15,12 +15,12 @@ translation_of: Web/JavaScript/Reference/Operators/await
<h2 id="语法">语法</h2>
-<pre class="syntaxbox notranslate">[<font face="Consolas, Liberation Mono, Courier, monospace">返回值</font>] = await <font face="Consolas, Liberation Mono, Courier, monospace">表达式</font>;</pre>
+<pre class="syntaxbox notranslate">[返回值] = await 表达式;</pre>
<dl>
- <dt><font face="Consolas, Liberation Mono, Courier, monospace">表达式</font></dt>
+ <dt>表达式</dt>
<dd>一个 {{jsxref("Promise")}} 对象或者任何要等待的值。</dd>
- <dt><font face="Consolas, Liberation Mono, Courier, monospace">返回值</font></dt>
+ <dt>返回值</dt>
<dd>
<p>返回 Promise 对象的处理结果。如果等待的不是 Promise 对象,则返回该值本身。</p>
</dd>