Skip to content

Latest commit

 

History

History
40 lines (37 loc) · 779 Bytes

File metadata and controls

40 lines (37 loc) · 779 Bytes

You Don't Know JS: this & Object Prototypes

Table of Contents

  • Foreword
  • Preface
  • Chapter 1: this Or That?
    • Why this?
    • Confusions
    • What's this?
  • Chapter 2: this All Makes Sense Now!
    • Call-site
    • Nothing But Rules
    • Everything In Order
    • Binding Exceptions
    • Lexical this
  • Chapter 3: Objects
    • Syntax
    • Type
    • Contents
    • Iteration
  • Chapter 4: Mixing (Up) "Class" Objects
    • Class Theory
    • Class Mechanics
    • Class Inheritance
    • Mixins
  • Chapter 5: Prototypes
    • [[Prototype]]
    • "Class"
    • "(Prototypal) Inheritance"
    • Object Links
  • Chapter 6: Behavior Delegation
    • Towards Delegation-Oriented Design
    • Classes vs. Objects
    • Simpler Design
    • Nicer Syntax
    • Introspection
  • Appendix A: ES6 class
  • Appendix B: Acknowledgments