adplus-dvertising
frame-decoration

Question

When there is an indefinite or an infinity value during an arithmetic value computation, javascript

a.

Prints an exception error

b.

Prints an overflow error

c.

Displays "Infinity"

d.

Prints the value as such

Posted under JavaScript

Answer: (c).Displays "Infinity"

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. When there is an indefinite or an infinity value during an arithmetic value computation, javascript

Similar Questions

Discover Related MCQs

Q. Which of the following is not considered as an error in JavaScript?

Q. The escape sequence "f" stands for

Q. The snippet that has to be used to check if "a" is not equal to "null" is

Q. The statement a===b refers to

Q. Assume that we have to convert "false" that is a non-string to string. The command that we use is (without invoking the "new" operator)

Q. Consider the following snippet code:

var string1 = "123";
var intvalue = 123;
alert( string1 + intvalue );

The result would be

Q. A function definition expression can be called

Q. The property of a primary expression is

Q. Consider the following statements:

var text = "testing: 1, 2, 3"; // Sample text
var pattern = /d+/g // Matches all instances of one or more digits

In order to check if the pattern matches with the string "text", the statement is

Q. The JavaScript's syntax calling ( or executing ) a function or method is called

Q. What kind of an expression is "new Point(2,3)"?

Q. Which of the operator is used to test if a particular property exists or not?

Q. Among the following, which one is a ternary operator?

Q. "An expression that can legally appear on the left side of an assignment expression." is a well known explanation for variables, properties of objects, and elements of arrays. They are called

Q. JavaScript is a _______________ language

Q. A statement block is a

Q. When an empty statement is encountered, a JavaScript interpreter

Q. The "var" and "function" are

Q. Consider the following statement:

switch(expression)
{
statements
}

In the above switch syntax, the expression is compared with the case labels using which of the following operator(s) ?

Q. Consider the following statement:

var count = 0;
while (count < 10)
{
console.log(count);
count++;
}

In the above code snippet, what happens?