alert("Hello World!"); // Creates a dialog showing the Hello World message console.log("Hello World!"); // logs the Hello World message out to console