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
Computer Science & Information Technology
You might also like to view...
The window in which you can view and edit Visual Basic code is the ________
Fill in the blank(s) with correct word
Computer Science & Information Technology
Creating a high-level paragraph in a multi-level bulleted list is called ____________________ text.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology