Vidyalelo
JavaScript · Q26

Parsing, Benchmarking And Logging

Programming · JavaScript · question 26

Q26

What will be the radix value of the parseInt() method when the string begins with any other value other than 0x and 0?

A.
8
B.
9
C.
10
Answer
D.
11

Answer: Option C

Solution

Answer: Option C
Solution:
The radix value will be 10 when the string of the method parseInt() begins with any other value other than 0x and 0.