JS1189: It is not valid to use the super keyword in this way

An expression is using the super statement in a static class member. This is not allowed because static members are associated with the class itself, while the super statement is used to access base-class members of the current instance of the class.

To correct this error

  1. Replace super with a qualified reference to a particular instance of the base class.

  2. Remove the static modifier.

See Also

Concepts

Troubleshooting Your Scripts

Reference

super Statement

static Modifier

Other Resources

JScript Reference