nerdexam
CIW

1D0-635 · Question #52

Consider the following code: What is the expected result when you run this script in the browser?

The correct answer is C. No window alert box will appear because there is an error in the code. 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

1D0-635 question #52 exhibit

Options

  • AA window alert box will display Hello.
  • BA window alert box will display Goodbye.
  • CNo window alert box will appear because there is an error in the code.
  • DA window alert box will display Hello then a second alert box will display Goodbye.

How the community answered

(33 responses)
  • A
    9% (3)
  • B
    15% (5)
  • C
    70% (23)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 1D0-635 Practice