For example I have the following class:
class X extends Y
{
constructor() { super(); }
method() {
asyncMethod( function( err ) {
super.method( err );
} );
}
}
However, super is not the base class Y. How can I pass super to that callback?
Is there any solution than using arrow functions?