Re:Hard-won lessons: Five years with Node.js
by hota_mazi on Thursday April 20, 2017 @10:50AM
(#14157143)
How is
different from a main()?
[ Parent
| on HN ]
Re:Hard-won lessons: Five years with Node.js
by cookiecaper on Thursday April 20, 2017 @01:52PM
(#14159068)
It's only needed if you're importing the file as a library/module somewhere.
Re:Hard-won lessons: Five years with Node.js
by squeaky-clean on Thursday April 20, 2017 @12:29PM
(#14158177)
You don't even need that.
print("hello world")
will run just fine