aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/parseint/index.html
diff options
context:
space:
mode:
authort7yang <t7yang@gmail.com>2022-01-10 08:38:06 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commitc4576ded828eb9a5ef5f032c8f9409a7116f80a1 (patch)
treea26eb256f89eb1b8b2a9c65f1e0183509622807e /files/zh-cn/web/javascript/reference/global_objects/parseint/index.html
parentf7b137a3dff09fb8f976140d16029ad6ec5cf2b5 (diff)
downloadtranslated-content-c4576ded828eb9a5ef5f032c8f9409a7116f80a1.tar.gz
translated-content-c4576ded828eb9a5ef5f032c8f9409a7116f80a1.tar.bz2
translated-content-c4576ded828eb9a5ef5f032c8f9409a7116f80a1.zip
remove id attribute not in heading for zh-CN
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>