JavaScript Editor Ajax toolkit     Ajax website 

Main Page

The new operator was applied to a class member. This is allowed only when the class member is a method or property marked with the expando modifier, which allows it to be used a constructor.

To correct this error

  1. Apply the expando modifier to the definition of the class member.

  2. Do not use the new operator on non-expando class members.

See Also


expando Modifier
new Operator


Troubleshooting Your Scripts

Other Resources

JScript Reference

JavaScript Editor Ajax toolkit     Ajax website