JavaScript can run directly within the browser.
To open up your console using Google Chrome, press F12 (for Windows) or Cmd+option+J (for Mac).
Pass the "Hello, World!" string to the console.log() method between its parentheses.
End the statement with a semicolon, as is typical of JavaScript syntax conventions.
console.log("Hello, World!");