JavaScript

JavaScript

sun icon
moon icon

Question 1 of 10

Which syntax is correct to output 'Hello World' in an alert box?

A
alertBox('Hello World');
B
msg('Hello World');
C
alert('Hello World');
D
msgBox('Hello World');