PrepAway - Latest Free Exam Questions & Answers

What is the expected result when you run this script in the browser?

Consider the following code:

What is the expected result when you run this script in the browser?

PrepAway - Latest Free Exam Questions & Answers

A.
There will be no visible output, but the script will count down to 0.

B.
The script will output a countdown from 15 to 0 in the client window.

C.
The script will output a countdown from 15 to 1 in the client window.

D.
The script will output 15, then 1, because it will only write the first and last values of a while?
statement.

Explanation:

PrepAway - Latest Free Exam Questions & Answers

Leave a Reply