CIW
1D0-635 · Question #31
Consider the following code: What is the expected result of this script?
The correct answer is A. When you leave the page, the alert box will display. See the full explanation below for the reasoning.
Question
Consider the following code:
What is the expected result of this script?
Exhibit
Options
- AWhen you leave the page, the alert box will display.
- BThe page will ignore the function, so a blank page will display on entry and exit.
- CWhen you enter the page, you will be warned that there is unfinished JavaScript to run.
- DWhen you leave the page, there will be a JavaScript error because you cannot unload an alert
How the community answered
(36 responses)- A75% (27)
- B14% (5)
- C3% (1)
- D8% (3)
Community Discussion
No community discussion yet for this question.
