Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zackattack
on Nov 6, 2009
|
parent
|
context
|
favorite
| on:
Ask HN: How do you explain closures?
Closures are functions that exist inside a variable. Therefore an entire different level of scope, now exists inside that variable. The variable then becomes like an object in that respect.
Easy.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Easy.