Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 1.12 KB

File metadata and controls

27 lines (24 loc) · 1.12 KB
title ms.date ms.prod ms.technology ms.topic f1_keywords dev_langs ms.assetid author ms.author manager
JavaScript object expected | Microsoft Docs
01/18/2017
visual-studio-windows
vs-javascript
error-reference
VS.WebClient.Help.SCRIPT5014
JavaScript
TypeScript
DHTML
cc7cc32b-e444-4afa-9be1-802c83fdf5ae
mikejo5000
mikejo
ghogen

JavaScript object expected

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