CIW
1D0-635 · Question #2
Consider the following code: What is the expected result when you run this script in the browser?
The correct answer is C. The script will output a countdown from 15 to 1 in the client window.. See the full explanation below for the reasoning.
Question
Consider the following code:
What is the expected result when you run this script in the browser?
Exhibit
Options
- AThere will be no visible output, but the script will count down to 0.
- BThe script will output a countdown from 15 to 0 in the client window.
- CThe script will output a countdown from 15 to 1 in the client window.
- DThe script will output 15, then 1, because it will only write the first and last values of a while?
How the community answered
(58 responses)- A9% (5)
- B3% (2)
- C74% (43)
- D14% (8)
Community Discussion
No community discussion yet for this question.
