Skip to content

Commit 223ec5f

Browse files
authored
fix: typo
1 parent ebf5c28 commit 223ec5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/02-number/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ alert( parseFloat('12.3.4') ); // 12.3,在第二个点出停止了读取
373373
alert( parseInt('a123') ); // NaN,第一个符号停止了读取
374374
```
375375

376-
````smart header="parseInt(str, radix)` 的第二个参数"
376+
````smart header="parseInt(str, radix) 的第二个参数"
377377
`parseInt()` 函数具有可选的第二个参数。它指定了数字系统的基数,因此 `parseInt` 还可以解析十六进制数字、二进制数字等的字符串:
378378

379379
```js run

0 commit comments

Comments
 (0)