Use the console.log()
function to print output.
Press Ctrl+S to save the file.
The variable x represents the unknown value.
The output shows: Hello, World!
function hello() { console.log("Hello, World!"); } hello();
<p>This is a paragraph.</p>
<h1>This is a heading.</h1>