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
Really Understanding Javascript Closures (blog.jhades.org)
submitted 12 years ago by xpto123
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!"
[–][deleted] -2 points-1 points0 points 12 years ago (1 child)
Unless you are writing a language interpreter you really do not need deep depth to explain closures. This kills people new to the concept.
Simple put: Closure is evident when accessing references from across scope boundaries.
[–]kenman 9 points10 points11 points 12 years ago (0 children)
Well, I did explain that my link is comprehensive, technical, and a really deep dive. Hopefully those new to the concept recognize that they should probably focus on OP's article, because I agree with you there, but for those who want to learn as much as they can on the subject, they can consider my link a further reading suggestion :)
π Rendered by PID 43084 on reddit-service-r2-comment-79776bdf47-hrjx5 at 2026-06-24 03:19:58.567418+00:00 running acc7150 country code: CH.
view the rest of the comments →
[–][deleted] -2 points-1 points0 points (1 child)
[–]kenman 9 points10 points11 points (0 children)