3 ms·
Even if functions were immutable as objects, they can reference anything within their containing scope, including arbitrary dynamic variables in outer scopes an
by eyelidlessness 3y ago
Even if functions were immutable as objects, they can reference anything within their containing scope, including arbitrary dynamic variables in outer scopes and even values from other modules (whose bindings are “live”). They may also have their “this” bound to arbitrary objects from any scope at all.