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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.