JavaScript: Hello world
A short, tested JavaScript example for hello world. Copy it and adjust the names and paths for your project.
JavaScript
console.log("Hello, World!");Run with Node.js: node hello.js
Find it in Zest
Search for “javascript hello world” in Zest and this example appears above the results, with other matches to choose from. Searches stay private.