Share via


JavaScript object expected

You attempted to pass a non-JavaScript object to a built-in function that expects a JavaScript object. Various built-in functions require objects defined in JavaScript (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

Objects and Arrays
Using Arrays