A. //
B. */
C. *
D. \
Which of the following is not a compound assignment operator.
If a string cannot be converted to a number __________ will be returned.
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 ?