21. The ____ statement used to repeat a statement or series : 1320974.
21. The ____ statement is used to repeat a statement or series of statements as long as a given conditional expression evaluates to a truthy value.
a. forb. continue
c. defaultd. switch
22. A ____ statement restarts a loop with a new iteration.
a. breakb. continue
c. nextd. default
23. A single statement that declares a variable and specifies array values as its content is called an array ____.
a. ?indexb. ?element
c. ?constructord. ?literal
24. Which of the following references the second element in the newsSections array??
a. ?newsSections[1]
b. ?newsSections[2]
c. ?newsSections(1)
d. ?newsSections(2)
25. Which method returns a collection of references to all instances of a certain element in an HTML document??
a. ?getElementById()
b. ?getElementsByName()
c. ?getElementsByTagName()
d. ?getElementsByClassName()
21. The ____ statement used to repeat a statement or series : 1320974