Skip to content

Latest commit

 

History

History
44 lines (41 loc) · 1.07 KB

File metadata and controls

44 lines (41 loc) · 1.07 KB

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

NOTE:
Work in progress

Table of Contents

  • Foreword
  • Preface
  • Chapter 1: How Is Scope Compiled?
    • About This Book
    • Compiling Code
    • Compiler Speak
    • Cheating: Run-Time Scope Modifications
    • Lexical Scope
  • Chapter 2: Understanding Lexical Scope
    • Buckets, and Bubbles, and Marbles... 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
  • Chapter 5: Hoisting
    • Chicken Or The Egg?
    • The Compiler Strikes Again
    • Functions First
  • Chapter 6: Scope Closures
    • Enlightenment
    • Nitty Gritty
    • Now I Can See
    • Loops + Closure
    • Modules
  • Appendix A: Dynamic Scope
  • Appendix B: Polyfilling Block Scope
  • Appendix C: Lexical-this