Hello, world! is often the first program that we write in a new programming language. It helps us to understand the most basic application syntax and is a good way to test our tool chain to make sure that we can compile and/or run a program.
HelloWorld.js
#!/usr/bin/env node; /****************************************************************************** * Simple first program. * * Copyright © 2020 Richard Lesh. All rights reserved. *****************************************************************************/ const main = async () => { console.log("Hello, world!"); } main().catch( e => { console.error(e) } );