ES6 introduced the class keyword, providing a cleaner, more familiar syntax for creating objects and dealing with inheritance. While it's primarily syntactic sugar over JavaScript's existing prototype-based inheritance, modern features like private fields make it powerful.
Basic Syntax
A class is defined with the class keyword and a constructor method.