Understanding inheritance within JavaScript is not for the faint of heart. Inheritance is essentially a code reuse pattern. A way for different kinds of objects to share code. The way that you share code matters because if you get it wrong, it can create a lot of problems

In this talk, we are going to work through some common concerns, including prototypes, constructors (and super keyword), the new keyword, and how classes work (in JS).




[40]

Comments

Comments are closed.