Answers for "node main"

0

node main

// main.js / main.ts (the filename doesn't matter)

function main() {
  console.log("Hello world");
}

if (require.main === module) {
  main();
}
Posted by: Guest on March-22-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language