What will the document.write() statement display, given the following code snippet?
```
var scores = new Array[94, 90, 88, 82, 73, 70, 75];
var lgth = scores.length;
document.write("There are " + lgth + "scores recorded. The
dropped score is " + scores[lgth – 1]);
```
a. There are 7 scores recorded. The dropped score is 75
b. There are 6 scores recorded. The dropped score is 70
c. There are 7 scores recorded. The dropped score is 70
d. There are 6 scores recorded. The dropped score is 75
a. There are 7 scores recorded. The dropped score is 75
You might also like to view...
The term list database describes a database that consists of a collection of tables, each of which contains information on a specific subject.
Answer the following statement true (T) or false (F)
A _________________ is a password-protected file that contains identification about its holder.
Fill in the blank(s) with the appropriate word(s).
Which of the following exceptions are unchecked?
a) RuntimeException b) IllegalAccessException c) NoSuchMethodException d) ClassNotFoundException e) none of the above
In the accompanying figure, item 2 is the frame that represents the ____.
A. border of the frame B. border of the crop C. border of the graphic D. border of the mask