The program is attempting to create a new Enumerator object, but the argument passed to the constructor is not a collection.
Elements of a collection can be accessed directly in JScript. For more information, see Enumerator Object.
To correct this error
Make sure that only collections are used to construct Enumerator objects.