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.
A window alert box will display Hello.

B.
A window alert box will display Goodbye.

C.
No window alert box will appear because there is an error in the code.

D.
A window alert box will display Hello then a second alert box will display Goodbye.

Explanation:

6 Comments on “What is the expected result when you run this script in the browser?


Leave a Reply