as you know can use the follow code create a new Array Object.
var a = new Array();
now i implement a IDispatch interface for IWebBrowser,i can pass a Object to javascript,but how to handler create a custom Object like follow code,the CustomObject is undefined Object type.
var a = new CustomObject();