This documentation is archived and is not being maintained.

JS1188: It is not valid to call a base class constructor from this location

An expression is calling the base class constructor, super, from a location other than the first line inside a constructor definition.

To correct this error

  • Make sure that the base class constructor is called only from the first line within a constructor declaration.

Show: