Skip to content

Module 03: Objects and Prototypes

JavaScript's inheritance model, object creation patterns, the prototype chain, ES2015 classes, and how this binding works.

This module is planned. Full content coming soon.

Prerequisites

  • Module 02: Core JavaScript

What You'll Learn

  • Object literals, property shorthand, computed property names, and method shorthand
  • The prototype chain: how JavaScript resolves property lookups through [[Prototype]]
  • Object.create(), Object.getPrototypeOf(), Object.setPrototypeOf()
  • ES2015 class syntax: constructor, instance methods, static methods, inheritance with extends and super
  • The four rules of this binding: default, implicit, explicit (.call, .apply, .bind), and new
  • Why arrow functions do not have their own this — and when that matters