Closed tolmasky closed 7 years ago
Can you be a bit more specific? A function declaration's binding is added to the containing scope, and a function expression's binding is added to a scope between the containing scope and the function body's scope.
Not sure if this is correct or not, but variables in function x(){}'s scope doesn't contain "x".