Do you know exactly how closures work? Has another coder ever asked you exactly what a closure is, and you found yourself saying "it's kind of like when..." or showing an example of code ... or saying it is a function defined inside another function?
After all, JS closures and scopes -- as well as their implementations -- are nothing strange or complex... but they are rarely explained well, and this creates an unnecessary amount of mystery. Let's ditch the mystery and get real!
This talk will not only explain exactly how scopes and closures work, but will show how a JS engine can trivially implement these features.