2.What is the correct JavaScript syntax to write "Hello World"?

  1. response.write("Hello World")

  2. document.write("Hello World")

  3. ("Hello World")

  4. "Hello World"


Correct Option: B

Find more quizzes: