Programming Languages JavaScript Objective
Mar 03, 2013

What is the correct JavaScript syntax to print "Hello World"?

Choose the correct answer:
A) response.write("Hello World")
B) document.write("Hello World")
C) ("Hello World")
D) "Hello World"
Detailed Explanation

Option B is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback