Class keyword – Object Creation in JavaScript P7 – Fun Fun Function

💖 Support the show by becoming a Patreon

The class keyword was added to JavaScript in ES6. On the surface, class seems to works like you’d expect, but if you look just a little closer you’ll see that class is just a thin veil on top of the existing prototypal inheritance model. In this video, I try to convince you that you should focus on learning JavaScript inheritance properly, in order to understand the mechanics of the class keyword in JavaScript.

This series is called Object Creation in JavaScript, and is meant to be a deep dive in how object creation works in JavaScript, the different ways that you can create objects and how it all fits together.

🔗 Series Playlist – Object Creation in JavaScript

🔗 Inline evaluation plugin

🔗 Composition over inheritance

🔗 The ’new’ keyword

🔗 Functional Programming in JavaScript series

🔗 Help translate the show to your language

🔗 mpj on Twitter



Do NOT follow this link or you will be banned from the site!