Namaste JavaScript — Interview Quick Notes
Ep 4: Variable Environments
- Each function invocation creates its own EC with its own memory space.
- Variables with the same name in different functions are completely independent — no shared state.
Namaste JavaScript — Interview Quick Notes