Inheriting variables from the parent scope is not the same as using global variables. Global variables exist in the global scope, which is the same no matter what function is executing.
The parent scope of a closure is the function in which the closure was declared