Scope and Closures (2014)

Scope and Closures (2014)

Foreword

Preface

Chapter 1. What Is Scope?

Chapter 2. Lexical Scope

Chapter 3. Function Versus Block Scope

Chapter 4. Hoisting

Chapter 5. Scope Closure

Appendix A. Dynamic Scope

Appendix B. Polyfilling Block Scope

Appendix C. Lexical this