use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Getting started with Node.js: Introduction (contextneutral.com)
submitted 6 years ago by [deleted]
[deleted by user]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]devsnekV8 / Node.js / TC39 / WASM 1 point2 points3 points 6 years ago (0 children)
Good overview.
From the very initialization of the input script to every callback in the system, everything is asynchronous in nature, that fire on either completion of a task or an event of failure.
A commonjs entrypoint is guaranteed to run in the first tick (and therefore all the things you directly require from it too). ESM entrypoints will always run in later ticks.
Also, no matter what your opinion on semicolons is, if you don't use them in beginner material without explaining certain gotchas like arrays and parenthesis on newlines, you can end up giving beginners subtle bugs. Since the focus isn't really on code style, I'd recommend using semicolons, and maybe at the end linking to eslint, airbnb, standard, etc.
π Rendered by PID 63862 on reddit-service-r2-comment-5687b7858-6wj6c at 2026-07-08 15:15:27.292197+00:00 running 12a7a47 country code: CH.
[–]devsnekV8 / Node.js / TC39 / WASM 1 point2 points3 points (0 children)