Which script block will display Hello World in the browser when the script is run?
A) <script type="text/javascript"> var message = "Hello "; var message2 = "World"; document.write(message + message2) ; </script>
B) document.write(message & message2) ;
C) var message = Hello ; var message2 = World ;
D) document.write("message + message2 ") ;
Correct Answer:
Verified
Q2: Consider the following code: Q3: Consider the following code: Q4: Which statement is true about the getElementByID() Q5: Which choice best defines events and event Q6: Suppose you define two variables as follows: Q7: Consider the following code: Q8: Which statement about the JavaScript form object Q9: Consider the following code: Q10: Consider the following message displayed in a Q11: What is the purpose of the prototype Unlock this Answer For Free Now! View this answer and more for free by performing one of the following actions Scan the QR code to install the App and get 2 free unlocks Unlock quizzes for free by uploading documents