|
|
|
|
|
by nollidge
4438 days ago
|
|
>> ...parse an integer out of a string in base-10 by default > It does. Not quite: in some browsers (IE), a string starting with '0' gets interpreted as octal. So parseInt('041') === 33 in IE. Guess how I found out about that. |
|