From c4576ded828eb9a5ef5f032c8f9409a7116f80a1 Mon Sep 17 00:00:00 2001 From: t7yang Date: Mon, 10 Jan 2022 08:38:06 +0800 Subject: remove id attribute not in heading for zh-CN --- .../zh-cn/web/javascript/reference/global_objects/parseint/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/parseint/index.html') 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
parseInt('123', 5) // 将'123'看作5进制数,返回十进制数38 => 1*5^2 + 2*5^1 + 3*5^0 = 38
-

描述

+

描述

parseInt函数将其第一个参数转换为一个字符串,对该字符串进行解析,然后返回一个整数或 NaN

@@ -209,7 +209,7 @@ console.log(filterInt('1.61803398875')); // NaN

{{Compat("javascript.builtins.parseInt")}}

-
+

相关链接

-- cgit v1.2.3-54-g00ecf