Multiple Choice
Consider the following code: What is the expected result of this script?
A) When you leave the page, the alert box will display.
B) The page will ignore the function, so a blank page will display on entry and exit.
C) When you enter the page, you will be warned that there is unfinished JavaScript to run.
D) When you leave the page, there will be a JavaScript error because you cannot unload an alert box.
Correct Answer:

Verified
Correct Answer:
Verified
Q9: Consider the following code: <img src="https://d2lvgg3v3hfg70.cloudfront.net/C1242/.jpg" alt="Consider
Q10: Which of the following will correctly declare
Q11: Consider the following code: var myString= "Hello
Q12: Consider the following select list: <img src="https://d2lvgg3v3hfg70.cloudfront.net/C1242/.jpg"
Q13: Which of the following is a reason
Q15: Consider the following code: <img src="https://d2lvgg3v3hfg70.cloudfront.net/C1242/.jpg" alt="Consider
Q16: Consider the following statement: for (X; Y;
Q17: What is the purpose of the prototype
Q18: How is the alert() method different from
Q19: Which statement about the JavaScript form object