是否可以在javascript的子类中使用覆盖版本中父类的方法?
是否可以在javascript的子类中使用覆盖版本的父类中的方法?是:是否可以在javascript的子类中使用覆盖版本中父类的方法?,javascript,inheritance,Javascript,Inheritance,是否可以在javascript的子类中使用覆盖版本的父类中的方法?是: ParentClass.prototype.methodName.call(this, arg1, arg2); 您可以在子类中的覆盖版本中调用以下内容: ParentClass.prototype.methodYouAreOverwriting.call(this); 如果您正在使用模块模式,请参阅本文:
ParentClass.prototype.methodName.call(this, arg1, arg2);
您可以在子类中的覆盖版本中调用以下内容:
ParentClass.prototype.methodYouAreOverwriting.call(this);
如果您正在使用模块模式,请参阅本文: