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.
Explanation: