What will happen if the radix parameter of the parseInt() function is omitted?
A. Runs in assumption
B. Throws exception
C. Aborts
D. Taken as 0
Answer: Option A
Solution(By Examveda Team)
If the radix parameter is omitted, JavaScript assumes the following:1. If the string begins with “0x”, the radix is 16 (hexadecimal)
2. If the string begins with “0”, the radix is 8 (octal). This feature is deprecated
3. If the string begins with any other value, the radix is 10 (decimal)
Related Questions on Parsing, Benchmarking and Logging
What is the necessity to create a separate file after having an API key?
A. To hold configuration information
B. To hold key details
C. To hold URL details
D. To hold the speed of the process
What is the purpose of the parameter location?
A. Specifies agent location
B. Specifies speed
C. Specifies browser
D. All of the mentioned
What will happen if the fvonly parameter is set to 1?
A. Results got for the first view
B. Can run the repeat view test
C. Can run the repeat view test
D. None of the mentioned
Join The Discussion