aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/zh-cn/web/javascript/reference/statements/export/index.html2
1 files changed, 1 insertions, 1 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 8d1e1d3b3a..33dd08fa41 100644
--- a/files/zh-cn/web/javascript/reference/statements/export/index.html
+++ b/files/zh-cn/web/javascript/reference/statements/export/index.html
@@ -64,7 +64,7 @@ export { default } from …;</pre>
<p>命名导出:</p>
<pre class="brush: js">// 导出事先定义的特性
-export { myFunction,myVariable };
+export { myFunction, myVariable };
// 导出单个特性(可以导出var,let,
//const,function,class)