re: 10 JavaScript concepts you need to know for interviews VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

The class keyword is just different syntax for creating objects. Once the object is created it still uses the same prototypal inheritance objects always have.

Using the 'class' keyword without understanding prototypal inheritance is like building a house with no understanding of carpentry. Eventually something's going to break, and you won't know how to fix it.

code of conduct - report abuse