What is the correct Javascript syntax to write “Hello World”??

(A) println (“Hello World”)

(B) document.write(“Hello World”)

(C) System.out.println(“Hello World”)

(D) response.write(“Hello World”)

Leave a Reply