Hi
What is the syntax to access an javascript array item - from auto IT - using the COM dot syntax?
How do you go $js.foo.item(0)
when
$foo = $js.Eval("var foo = [ 1234, 2345 ] ;")
$js = ObjCreate("ScriptControl")
$js.language = "Jscript"
$js.Eval("var foo = [ 1234, 2345 ] ;")
$foo =$js.Eval("foo")
Consolewrite("foo.length = " & $foo.length & @CRLF)
Consolewrite("foo.item(0) = " & $foo.item(0) & @CRLF) ; FAILS