What will be printed on the screen ?
Question 1 Explanation:
String + Number = String
During addition of two numbers , suppose one of the number is NaN then output of the following code will be ?
Question 2 Explanation:
NaN + Any Value = NaN
+Infinity in JS gets added with +Infinity then output of the code will be -
Question 3 Explanation:
+Infinity + +Infinity = +Infinity
-Infinity in JS gets added with -Infinity then output of the code will be -
Question 4 Explanation:
-Infinity + -Infinity = -Infinity
-Infinity in JS gets added with +Infinity then output of the code will be -
Question 5 Explanation:
+Infinity + -Infinity = NaN
There are 5 questions to complete.