I have the following code in VBScript:
Dim control
set control = CreateObject("MSScriptControl.ScriptControl")
control.language = "jscript"
control.addCode("function test() { return {property: 'test'}; };")
Dim result
set result = control.Eval("test();")
I know that the object returned to result is of the type JScriptTypeInfo but I can't find any information regarding the definition of this type and doing similar code in Visual Studio C# only shows this up as {System.__ComObject} in the locals pane.
Does anyone know what the interface to the JScriptTypeInfo type is?