Examveda
Examveda

What will be the radix value of the parseInt() method when the string begins with 0?

A. 6

B. 7

C. 8

D. 9

Answer: Option C

Solution(By Examveda Team)

If the string begins with “0”, the radix is 8 (octal). This feature is deprecated.

This Question Belongs to Javascript >> Parsing, Benchmarking And Logging

Join The Discussion

Related Questions on Parsing, Benchmarking and Logging