JavaScript
Enable dark mode
Question 1 of 10
Which syntax is correct to output 'Hello World' in an alert box?
Choose an answer
alertBox('Hello World');
msg('Hello World');
alert('Hello World');
msgBox('Hello World');
Submit answer