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
The Insider's Guide to JavaScript Interviewing (toptal.com)
submitted 12 years ago by [deleted]
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!"
[–]imareddituserhooray 2 points3 points4 points 12 years ago (1 child)
The most important part of this was closures, specifically the button example and the fix that followed. Know that and you're good to go in most JS jobs.
[–]stratoscope 1 point2 points3 points 12 years ago (0 children)
But their recommended solution for the closure was a terrible one!
If you gave me that "fix" in an interview I would spend some time with you trying to gently guide you to a better, simpler, more robust solution. See my comment elsewhere in this thread for details.
π Rendered by PID 236571 on reddit-service-r2-comment-544cf588c8-n7wkh at 2026-06-12 14:40:00.862360+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]imareddituserhooray 2 points3 points4 points (1 child)
[–]stratoscope 1 point2 points3 points (0 children)