• Introduction
  • Get Started
    • Chapter 1: What Is JavaScript?
    • Chapter 2: Surveying JS
    • Chapter 3: Digging to the Roots of JS
    • Chapter 4: The Bigger Picture
    • Appendix A: Exploring Further
    • Appendix B: Practice, Practice, Practice!
  • Scope & Closures
    • Chapter 1: How Is Scope Determined?
    • Chapter 2: Understanding Lexical Scope
    • Chapter 3: Working With Scope
    • Chapter 4: Function vs. Block Scope
    • Chapter 5: Closures
    • Chapter 6: Module Pattern
    • Appendix A: Exploring Further
    • Appendix B: Practice
  • Objects & Classes
    • Chapter 1: this Or That?
    • Chapter 2: this All Makes Sense Now!
    • Chapter 3: Objects
    • Chapter 4: Mixing (Up) "Class" Objects
    • Chapter 5: Prototypes
    • Chapter 6: Behavior Delegation
    • Appendix A: ES6 class
  • Types & Grammar
    • Chapter 1: Types
    • Chapter 2: Values
    • Chapter 3: Natives
    • Chapter 4: Coercion
    • Chapter 5: Grammar
    • Appendix A: Mixed Environment JavaScript
  • Sync & Async
    • Chapter 1: Asynchrony: Now & Later
    • Chapter 2: Callbacks
    • Chapter 3: Promises
    • Chapter 4: Generators
    • Chapter 5: Program Performance
    • Chapter 6: Benchmarking & Tuning
    • Appendix A: Library: asynquence
    • Appendix B: Advanced Async Patterns
  • ES.Next & Beyond
    • Chapter 1: ES? Now & Future
    • Chapter 2: Syntax
    • Chapter 3: Organization
    • Chapter 4: Async Flow Control
    • Chapter 5: Collections
    • Chapter 6: API Additions
    • Chapter 7: Meta Programming
    • Chapter 8: Beyond ES6
    • Appendix A: TODO

Scope & Closures

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


Purchase ebook/PDF from Leanpub


Table of Contents

  • Foreword (by Sarah Drasner)
  • Preface
  • Chapter 1: What's the Scope?
  • Chapter 2: Illustrating Lexical Scope
  • Chapter 3: The Scope Chain
  • Chapter 4: Around the Global Scope
  • Chapter 5: The (Not So) Secret Lifecycle of Variables
  • Chapter 6: Limiting Scope Exposure
  • Chapter 7: Using Closures
  • Chapter 8: The Module Pattern
  • Appendix A: Exploring Further
  • Appendix B: Practice

results matching ""

    No results matching ""