Understanding Closures via a sequence of scripts that explain the basic concepts closures depend on
The topics directory contains 10 scripts covering each a topic necessary to the functioning of closures, graudually building up to the understading of closures:
- Topic 01 - Type in Javascript
- Topic 02 - Functions in Javascript
- Topic 03 - Scope in Javascript
- Topic 04 - Variable Hoisting
- Topic 05 - First class functions, higher order functions and all that jazz
- Topic 06 - Nested functions
- Topic 07 - Lexical scope
- Topic 08 - Closures
- Topic 09 - Upvalues - Closures vs. function pointers
- Topic 10 - Returning closures