The ____________ method counts from the ending position of the string.
__________ and __________ are interchangeable in JavaScript.
Consider the following code:
<script>
var x = 0;
for (i=0; i<5; i++) {
x += i;
}
alert("1+2+3+4 = " +x);
</script>
How many times will the program loop, and what will be the final value of x?
Placing // in front of a line of text, within the Script tags will result in ______________
There are __________ ways to refer to form objects.
A function that defines methods and properties of a custom object used as a template for instances of the custom object is a _______________
In which part of the HTTP communication protocol does the cookie initially begin to function?
Which method of the String object would you use when writing the name of a chemical compound, such as “H20”?
Ling wants to add a button to her Web page that will transport the user to another Web page. She does not to use a hyperlink, so she includes the following JavaScript:
The code does not function as Ling intended.
Which of the following choices shows how she should rewrite the script to make it function correctly?
Sven wants to open a new window with JavaScript, be he repeatedly receives an error message. He reviews his code, as shown:
open (“http://www.prolific.com”, “Pro Window” , “toolbar = 1 ,location = 1 ,menubar = 1 ,
scrollbars = 1 ,status = 1 ,resizable = 1”);
Which one of the following choices shows how Sven should rewrite this line of code so that no errors result when it is executed?