What does this script do in terms of the use of the variable "name"?
Consider the following script:
<SCRIPT>
<!–var name;
name=prompt(“What is your name?” , “”);
alert(“Hello, ” + name +”.”);
// –>
</SCRIPT>
What does this script do in terms of the use of the variable “name”?
_______ are the actions that the object property can be made to perform, such as a calculation, an onscreen mo
_______ are the actions that the object property can be made to perform, such as a calculation,
an onscreen move, or the writing of text in a window.
1stName would be a valid variable name.
1stName would be a valid variable name.
The _____ indicator is used for multiple line comments.
JavaScript used two types of comment indicators. The _______ indicator delineates a comment
on a single line of script. The _____ indicator is used for multiple line comments.
A _________ creates an empty template from which real-time objects, called __________, can be generated.
A _________ creates an empty template from which real-time objects, called __________, can be
generated.
The key difference between the While Statement and the Do While Statement is ____________
The key difference between the While Statement and the Do While Statement is ____________
______________ are named spaces of memory.
______________ are named spaces of memory.
The String, Array, Date and Math objects are all ____________ objects.
The String, Array, Date and Math objects are all ____________ objects.
The first character of a variable cannot be a number.
The first character of a variable cannot be a number.
Although not mandatory, it is advisable to define all your functions in the HEAD element of your HTML document
Although not mandatory, it is advisable to define all your functions in the HEAD element of your
HTML document.