The answer
Lexical scope means the scope chain is fixed at write time. When a function is defined inside another, it gets an outer reference to the outer function's environment. That reference travels with the function object, even after the outer function returns.