Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
parseInt is not octal/binary by default #23
In section Always Specify the Second ‘radix’ Parameter When Using .parseInt(), it is said that
This is actually not true. ECMA-262 specifies that
I do not, nevertheless, challenge the importance of always specifying the radix.
But, later in ES3:
So the advice remains valid: always specify radix.