Oop

JavaScript Classes — Syntax, Inheritance, and Modern Features
JavaScript Classes — Syntax, Inheritance, and Modern Features
A complete tour of ES6 classes — constructors, instance and static members, inheritance with extends and super, private fields and methods, getters and setters, and how every class still sits on top of the prototype chain.