Solved

What Does the Following Script Do

Question 4

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents