Lesson 17 of 27 · Objects and Classes
JavaScript OOP Crash Course (ES5 & ES6)
Both spellings, which matters here more than elsewhere: prototypes are what JavaScript actually does, and classes are a friendlier surface over the same machinery. Seeing both is what stops `this` being a mystery.
Video not playing? Some channels disable embedding, and there is no way around it.Open on YouTubeinstead — then come back and mark it complete.