Typo in parseInt section.
This commit is contained in:
Bryon Larrance 2017-06-27 15:41:45 -05:00 committed by GitHub
parent 2a0516d174
commit 0d35af5909

View file

@ -362,7 +362,7 @@ alert( parseFloat('12.3.4') ); // 12.3, the second point stops the reading
Of course, there are situations when `parseInt/parseFloat` return `NaN`. It happens when no digits could be read:
```js run
alert( parseInt('a123') ); // NaN, the first symbol stops he process
alert( parseInt('a123') ); // NaN, the first symbol stops the process
```
````smart header="The second argument of `parseInt(str, radix)`"