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



💖 Support the show by becoming a Patreon
https://www.patreon.com/funfunfunction

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
[https://www.youtube.com/watch?v=GhbhD1HR5vk&list=PL0zVEGEvSaeHBZFy6Q8731rcwk0Gtuxub&index=1

🔗 Inline evaluation plugin
https://quokkajs.com/

🔗 Composition over inheritance

🔗 The ’new’ keyword

🔗 Functional Programming in JavaScript series

🔗 Help translate the show to your language
http://www.youtube.com/timedtext_cs_panel?tab=2&c=UCO1cgjhGzsSYb1rsB4bFe4Q

🔗 mpj on Twitter


source

Reply


Build A Site Info