Which of the following correctly uses the setInterval() method to call a function named count-down() every two seconds?

a.
```
var interval = window.setInterval("countdown()", 2);
```

b.
```
window.setInterval(2000) = countdown();
```

c.
```
var interval = window.setInterval("countdown()", 2000);
```

d.
```
window.setInterval("countdown()", 2000);
```

c.
```
var interval = window.setInterval("countdown()", 2000);
```

Computer Science & Information Technology

You might also like to view...

Subdocuments can be edited by editing only the subdocument

Indicate whether the statement is true or false

Computer Science & Information Technology

Class members are accessed via the __________ operator in conjunction with the name of an object (or reference to an object) of the class or via the _____________ operator in conjunction with a pointer to an object of the class.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology