constructor()
↔ special class
Method to pass args & setup new new Instance
define class via constructor
class Person {
constructor(name, age) {
this.name = name;
this.age = age;
};
}
super
JS Keyword to Invoke superclass constructor()
References
super
↔ JS Keyword to Invoke superclassconstructor()