class

子类没有写 constructor,会隐式继承超类

  constructor(...args) {
    super(...args);
  }

Class inheritanceopen in new window

Last Updated:
Contributors: cyio