adplus-dvertising
frame-decoration

Question

-Infinity in JS gets added with -Infinity then output of the code will be

a.

+Infinity

b.

NaN

c.

-Infinity

d.

None of the above

Posted under Web Technologies

Answer: (c).-Infinity

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. -Infinity in JS gets added with -Infinity then output of the code will be

Similar Questions

Discover Related MCQs

Q. -Infinity in JS gets added with +Infinity then output of the code will be

Q. Variable can hold ________ value at a time.

Q. Integer Variable is declared using following syntax in JavaScript.

Q. We can declare ___________ at a time. Select most appropriate option.

Q. We can declare all type of variables in JavaScript with the keyword _____________.

Q. var num;
Above Statement is called as __________ Statement.

Q. Variable name contain following type of characters -

1. Alphabet
2. Digits
3. Underscore
4. Special Characters

Select the correct option.

Q. Spaces,Punctuation marks are called as __________ Symbols in JavaScript.

Q. Which JavaScript variable cannot be used as First character but can be use after first character ?

Q. Initialization of variable can be done by writing _____ operator in between variable name and operand value.

Q. Multiple Declarations of variables are separated by ___________ symbol.

Q. var var1 = "Pritesh";
Above variable can store value of type -

Q. Variable declared without a value will have the value ______________.

Q. When you assign a text value to a variable, we put text value in the pair of _________.

Q. Non Initialized Variable have value "undefine", What value be printed in following case -
var carname="Volvo";
var carname;

Q. What will be the value of Variable - "num3" ?
var num1;
var num2 = 10;
var num3 = num1 + num2;

Q. Variables declared inside function are visible _______________.

Q. Local Variables are Destroyed as soon as ______________.

Q. Assignment Operators is following type of operator ______________.

Q. "Add and Assignment" operator is shown by this symbol.