In this video I have covered Scope, a fundamental part of Javascript programming. It is crucial for understanding closures and hoisting.
0:00 Importance of learning scope
2:22 What is scope?
8:15 How scope maintains identifiers inside it.
10:25 Nested scopes
14:55 Rules for variable lookup in scope
21:25 why Js scope is called lexical or static scope?
23:10 Revisit the question in beginning
28:10 Function vs block scope