aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn
diff options
context:
space:
mode:
authorPercy <kecrily@gmail.com>2021-08-19 22:36:24 +0800
committerIrvin <irvinfly@gmail.com>2021-08-20 17:48:26 +0800
commitb5bdd6a4fdbc96ec4574acbc93aa426714826320 (patch)
tree0648a00ccea9e61bcf1f9da205c86c69f279b46d /files/zh-cn
parentbba69c495eb8ccb525539a9f18ddee8a1c7644cf (diff)
downloadtranslated-content-b5bdd6a4fdbc96ec4574acbc93aa426714826320.tar.gz
translated-content-b5bdd6a4fdbc96ec4574acbc93aa426714826320.tar.bz2
translated-content-b5bdd6a4fdbc96ec4574acbc93aa426714826320.zip
Use ^ instead of the <sup> tag in the <pre> tag
close #2135
Diffstat (limited to 'files/zh-cn')
-rw-r--r--files/zh-cn/web/javascript/guide/grammar_and_types/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/guide/grammar_and_types/index.html b/files/zh-cn/web/javascript/guide/grammar_and_types/index.html
index 0ea7538a96..8b00401fcc 100644
--- a/files/zh-cn/web/javascript/guide/grammar_and_types/index.html
+++ b/files/zh-cn/web/javascript/guide/grammar_and_types/index.html
@@ -447,8 +447,8 @@ console.log(a[0]); // 3</pre>
<pre class="brush: js notranslate">3.14
-.2345789 // -0.23456789
--3.12e+12 // -3.12*10<sup>12</sup>
-.1e-23 // 0.1*10<sup>-23</sup>=10<sup>-24</sup>=1e-24
+-3.12e+12 // -3.12*10^12
+.1e-23 // 0.1*10^(-23)=10^(-24)=1e-24
</pre>
<h3 id="对象字面量_Object_literals">对象字面量 (Object literals)</h3>