JS1120: Circular definition

The code defines a class or interface in terms of itself. This can happen if the code contains two classes, each one extending the other.

To correct this error

  • Make sure when extending a class or interface that the base class or interface does not depend on the class or interface being defined.

See Also

Concepts

Troubleshooting Your Scripts

Other Resources

Class-based Objects

JScript Reference