A. Single/Double Quote
B. Square Bracket
C. None of these
Non Initialized Variable have value "undefine", What value be printed in following case.
var carname="Volvo"; var carname;
What will be the value of Variable - "num3" ?
var num1; var num2 = 10; var num3 = num1 + num2;
<html> <body> <script> var x = 5; var y = 6; document.write((x + y) + "<br>"); </script> </body> </html>
What will be the output of the following code ?
Variable declared inside JavaScript Function will be called as ____________.
Vriables declared inside function are visible _______________.
Local Variables are destroyed after execution of function.
function message() { var name = "Pritesh"; alert(name); }
Variable declared above is example of ___________ Variable.
Variable declared outside JavaScript Function is called as _______________ .
Local Variables are Destroyed as soon as ______________.
<script type="text/javascript"> var name; name = "Pritesh"; </script> <script type="text/javascript"> document.write(name); </script>
What will be the output of the following ?