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

TOP OF THREAD FULL DISCUSSION
re: With the advent of the class keyword in ES6, is it still necessary to understand prototype and friends?
 

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