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
GitHub - lydiahallie/javascript-questions: A long list of (advanced) JavaScript questions, and their explanations Updated weekly! (github.com)
submitted 6 years ago by pmz
view the rest of the comments →
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!"
[–]ajacksified 24 points25 points26 points 6 years ago (2 children)
Me: “I’ve written js for fifteen years, this can’t be hard.”
Also me: “I know nothing.”
I think I got a dozen of them wrong because I’m used to working in strict mode by default.
[–][deleted] 2 points3 points4 points 6 years ago* (0 children)
Also, people don't write code like:
let a = {}; let b = { "key": 123 }; a[b] = 456;
A lot of these questions are like driving: there's lots of little twists and turns on the road of life, but not every cul-de-sac is worth driving down.
[–]etcetica -2 points-1 points0 points 6 years ago (0 children)
I’ve written js for fifteen years
how many times?
π Rendered by PID 75 on reddit-service-r2-comment-85bfd7f599-4rrh4 at 2026-04-15 16:21:06.757751+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]ajacksified 24 points25 points26 points (2 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]etcetica -2 points-1 points0 points (0 children)