aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference
diff options
context:
space:
mode:
authorHookin <45350455+LuckyHookin@users.noreply.github.com>2021-03-21 20:26:36 +0800
committerIrvin <irvinfly@gmail.com>2021-03-24 12:24:13 +0800
commit8f5d1b6162a6d73d49b01ff16fed960650394210 (patch)
treeb82aa486a189b66cf3583f92a7495d8a5e69b8b4 /files/zh-cn/web/javascript/reference
parenta3c56dd18b921da3e99b0fb5687fa2f96746a694 (diff)
downloadtranslated-content-8f5d1b6162a6d73d49b01ff16fed960650394210.tar.gz
translated-content-8f5d1b6162a6d73d49b01ff16fed960650394210.tar.bz2
translated-content-8f5d1b6162a6d73d49b01ff16fed960650394210.zip
delete dir="rtl" attribute
Diffstat (limited to 'files/zh-cn/web/javascript/reference')
-rw-r--r--files/zh-cn/web/javascript/reference/statements/export/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/statements/export/index.html b/files/zh-cn/web/javascript/reference/statements/export/index.html
index 9e584a2903..4449f10825 100644
--- a/files/zh-cn/web/javascript/reference/statements/export/index.html
+++ b/files/zh-cn/web/javascript/reference/statements/export/index.html
@@ -189,8 +189,8 @@ export default function cube(x) {
<p>然后,在另一个脚本中,可以直接导入默认导出:</p>
-<pre class="brush: js notranslate" dir="rtl">import cube from './my-module.js';
-console.log(cube(3)); // 27​​​​​
+<pre class="brush: js notranslate">import cube from './my-module.js';
+console.log(cube(3)); // 27
</pre>
<h3 id="模块重定向">模块重定向</h3>