Skip to content

Latest commit

 

History

History
40 lines (37 loc) · 992 Bytes

File metadata and controls

40 lines (37 loc) · 992 Bytes

You Don't Know JS Yet: Scope & Closures - 2nd Edition

NOTE:
Work in progress

Table of Contents

  • Foreword
  • Preface
  • Chapter 1: How Is Scope Determined?
    • About This Book
    • Compiled vs. Interpreted
    • Compiling Code
    • Compiler Speak
    • Cheating: Run-Time Scope Modifications
    • Lexical Scope
  • Chapter 2: Understanding Lexical Scope
    • Marbles, and Buckets, and Bubbles... Oh My!
    • A Conversation Among Friends
    • Nested Scope
    • Continue The Conversation
  • Chapter 3: Working With Scope
    • Nested Scopes, Revisited
    • Why Global Scope?
    • Where Exactly Is This Global Scope?
    • When Can I Use A Variable?
    • Scope Closed
  • Chapter 4: Block Scope
    • Least Exposure
    • Hiding In Plain (Function) Scope
    • Scoping With Blocks
    • Function Declarations In Blocks
    • Blocked Over
  • Chapter 5: Closures
    • TODO
  • Chapter 6: Module Pattern
    • TODO
  • Appendix A: Exploring Further
  • Appendix B: Practice