JScript object expected

You attempted to pass a non-JScript object to a built-in function that expects a JScript object. Various built-in functions require objects defined in JScript (as opposed to objects defined by the host, or an external component like a control).

To correct this error

Ensure that the object you are passing in as a parameter is of the correct type.

See Also

JScript Objects | Using Arrays