$sScr = _
"MyObject = {" & @CRLF & _
" '123' : 'p'," & @CRLF & _
" 'd' : '456'," & @CRLF & _
" 'c' : function testMethod() {" & @CRLF & _
" console.log('here!');" & @CRLF & _
" }" & @CRLF & _
"}" & @CRLF & _
"for (var p in MyObject)" & @CRLF & _
" console.log(MyObject[p]);"
; или в одну строку
; $sScr = "MyObject={'123':'p','d':'456','c':function testMethod(){console.log('here!')}};for(var p in MyObject)console.log(MyObject[p])"
$oIE.document.parentWindow.execScript ($sScr)