ES6 Classes
Learn ES6 Classes (Modern JavaScript (ES6+), JavaScript) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Class Syntax ES6 class syntax is syntactic sugar over JavaScript's existing prototype-based inheritance - under the hood, it's still prototypes. Classes give a cleaner, more familiar syntax for defining constructors and methods.