aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/parseint/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/parseint/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/parseint/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/parseint/index.html b/files/zh-cn/web/javascript/reference/global_objects/parseint/index.html
index cf2555558b..729aee8834 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/parseint/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/parseint/index.html
@@ -50,7 +50,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/parseInt
<pre>parseInt('123', 5) // 将'123'看作5进制数,返回十进制数38 =&gt; 1*5^2 + 2*5^1 + 3*5^0 = 38</pre>
-<h2 id="描述_2"><a id="描述" name="描述">描述</a></h2>
+<h2 id="描述_2"><a name="描述">描述</a></h2>
<p><code>parseInt</code>函数将其第一个参数转换为一个字符串,对该字符串进行解析,然后返回一个整数或 <code>NaN</code>。</p>
@@ -209,7 +209,7 @@ console.log(filterInt('1.61803398875')); // NaN
<p>{{Compat("javascript.builtins.parseInt")}}</p>
-<div id="compat-mobile"></div>
+<div></div>
<h2 id="相关链接">相关链接</h2>