aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>