aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/guide/modules
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/guide/modules
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/guide/modules')
-rw-r--r--files/zh-cn/web/javascript/guide/modules/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/guide/modules/index.html b/files/zh-cn/web/javascript/guide/modules/index.html
index 1ea1f81adf..3ad682563c 100644
--- a/files/zh-cn/web/javascript/guide/modules/index.html
+++ b/files/zh-cn/web/javascript/guide/modules/index.html
@@ -125,7 +125,7 @@ export function draw(ctx, length, x, y, color) {
};
}</pre>
-<p>你能够导出函数,<code>var</code><font face="Arial, x-locale-body, sans-serif">,</font><code>let</code><font face="Arial, x-locale-body, sans-serif">,</font><code>const</code>, 和等会会看到的类。export要放在最外层;比如你不能够在函数内使用<code>export</code>。</p>
+<p>你能够导出函数,<code>var</code>,<code>let</code>,<code>const</code>, 和等会会看到的类。export要放在最外层;比如你不能够在函数内使用<code>export</code>。</p>
<p>一个更方便的方法导出所有你想要导出的模块的方法是在模块文件的末尾使用一个export 语句, 语句是用花括号括起来的用逗号分割的列表。比如:</p>