Solved

What Does the Following Script Do

Question 5

Multiple Choice

What does the following script do
< !--
Var value = 0;
Function startTimer()
{
Window.setInterval( "updateTime() ", 1000 ) ;
}
Function updateTime()
{
Value++;
PText.innerText = value;
}
//-- >


A) It counts the number of seconds elapsed while loading the page.
B) It counts the number of milliseconds elapsed while loading the page.
C) It counts the number of seconds elapsed viewing the page.
D) It counts the number of milliseconds elapsed while viewing the page.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions