Topics

Jump to a topic.

Search questions

Find a question by title, tag, or summary.

Chapter 12

Prototypes and inheritance

The [[Prototype]] chain, how lookup and assignment walk it, and what new and instanceof do.
6 questions
  1. 010How does prototypal inheritance work?Coming soonCoremedium
  2. 020__proto__ vs prototype vs Object.getPrototypeOf?Coming soonmedium
  3. 030What does the new operator do?Coming soonmedium
  4. 040How does instanceof work?Coming soonmedium
  5. 050When do you use Object.create(null)?Coming soonmedium
  6. 060Should you extend native prototypes?Coming soonmedium