Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

JavaScript _________ when there is an indefinite or an infinite value during an arithmetic computation.

a) Prints an overflow error
b) Prints an exception error
c) Displays “Infinity”
d) Prints the value as such

Answer: c
Explanation: When the result of a numeric operation is larger than the largest representable number (overflow), JavaScript prints the value as Infinity.

Join The Discussion