Q22
What will be the radix value of the parseInt() method when the string begins with 0?
A.
6
B.
7
C.
8
AnswerD.
9
Answer: Option C
Solution
Answer: Option C
Solution:
If the string begins with “0”, the radix is 8 (octal). This feature is deprecated.