Skip to main
Playground
Help
Login
Create Account
Library
Lab Closures
Closures Span Multiple Scopes
Toggle Theme
Prev
Next
JavaScript Closures and Scopes
Functions are assigned by reference
Scopes have a lifetime
Closures span multiple scopes
It's easy to confuse closures with scopes
Closures have read and write access
Closures can share scopes
One final test