A. NaN
B. Infinite
C. Null
D. Zero
NaN stands for Not A Number.
JS Comment can be used for following purposes
What will be printed on the screen ? Var3 =100101010
During addition of two numbers , suppose one of the number is NaN then output of the following code will be ?
+Infinity in JS gets added with +Infinity then output of the code will be -
-Infinity in JS gets added with -Infinity then output of the code will be.
-Infinity in JS gets added with +Infinity then output of the code will be.
var str = "Str"; var num = 10; var output = str + num;
What will be the value of Variable 'output' ?
<html> <head> <title>A Simple Page</title> <script language="JavaScript"> <!-- var A = "Compile ", B = "Error"; C = A + B; alert(C); // --> </script> </head> <body></body> </html>
What will be printed ?
/* This is Simple Comment */
This is the example of ____________ Comment.
What will be printed inside webpage ?
var message="Hello JS"; document.write(Message);