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

Answer: c
Explanation: If the string begins with 0x, then the radix value will be 16. If the string begins with “0”, the radix is 8 (octal). This feature is deprecated.
 

Tìm kiếm

Back
Top