Last updated 2 years ago
resource ⟩ books ⟩ You Don't Know JS Yet: Scope & Closures
Chapter 1:
Chapter 2: Illustrating Lexical Scope
Chapter 3: The Scope Chain
Chapter 4: Around the Global Scope
Chapter 5: The Secret Lifecycle of Variables
Chapter 6: Limiting Scope Exposure
Chapter 7: Using Closures
Chapter 8: The Module Pattern
Appendix A: Exploring Further
compilation - how JS compiles.
grammar
identifier
scope
lexical environment
lexical environment vs. scope
global scope
window - global object in browser environment.
window.name - global variable (a getter/setter)
closure
module
GitHub ⟩ You Don't Know JS Yet: Scope & Closures - 2nd Edition ⭐️
Author: Kyle Simpson