Answer
A function can access variables based on where it was written, not where it is called. Inner scopes can read bindings from outer scopes.
A function can access variables based on where it was written, not where it is called. Inner scopes can read bindings from outer scopes.