๐Ÿ“ฆ getify / You-Dont-Know-JS

๐Ÿ“„ toc.md ยท 58 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58# You Don't Know JS Yet: Objects & Classes - 2nd Edition

| NOTE: |
| :--- |
| Work in progress |

## Table of Contents

* Foreword
* Preface
* Chapter 1: Object Foundations
    * About This Book
    * Objects As Containers
    * Defining Properties
    * Accessing Properties
    * Assigning Properties
    * Deleting Properties
    * Determining Container Contents
    * Temporary Containers
    * Containers Are Collections Of Properties
* Chapter 2: How Objects Work
    * Property Descriptors
    * Object Sub-Types
    * Object Characteristics
    * Extending the MOP
    * `[[Prototype]]` Chain
    * Objects Behavior
* Chapter 3: Classy Objects
    * When Should I Class-Orient My Code?
    * Keep It `class`y
    * Class Instance `this`
    * Class Extension
    * Static Class Behavior
    * Private Class Behavior
    * Class Example
* Chapter 4: This Works
    * This Aware
    * This Is It!
    * An Arrow Points Somewhere
    * Variations
    * Stay Aware
* Chapter 5: Delegation
    * Preamble
    * What's A Constructor, Anyway?
    * Ditching Class Thinking
    * Delegation Illustrated
    * Composing Peer Objects
    * Why *This*?
* Thank You!
* TODO:
    * object wrappers (String, Boolean, etc)
    * object coercions (valueof, tostring, boxing)
    * well-known symbols extension points on objects
    * proxies
    * old "prototypal class" style
    * "inheritance" objections
    * protected visibility