DEV Community

Discussion on: The syntactical Sugar Classes of JavaScript

Collapse
 
olivermensahdev profile image
Oliver Mensah

This piece gives the great overview classes in JavaScript and I love it. From the excerpt, "When we call extends in a class declaration, all of the parent methods become available to the child class", I think it is related to JavaScript only where there are only public access modifiers to methods and properties. In some languages, this might not be true. I think it would be great to tell the audience who might be starting to program and have no idea about these access modifiers.