Module 03: Objects and Prototypes¶
JavaScript's inheritance model, object creation patterns, the prototype chain, ES2015 classes, and how
thisbinding 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
classsyntax: constructor, instance methods, static methods, inheritance withextendsandsuper - The four rules of
thisbinding: default, implicit, explicit (.call,.apply,.bind), andnew - Why arrow functions do not have their own
this— and when that matters