Extendiendo clases JavaScript
class A {
constructor(a) {}
MethodA(){}
}
class B extends A {
constructor(b) {
super(b) // if you want to call constructor in class A
}
MethodB(){}
}
Tung