
Classes are blueprints for creating objects with shared properties and methods. Define one with the class keyword, use a constructor() to initialize properties, and add methods directly in the class body. Create instances with new ClassName(). Classes in JavaScript are syntactic sugar over prototype-based inheritance introduced in ES6.
Reference:
TaskLoco™ — The Sticky Note GOAT