If you are talking about the part item1you are looking for:
myValue = myTestObject["item1"];
No need for eval. (There almost never happens.)
myTestObject "myTestObject", , , eval. , , , . :
var stringToObjectRef = function() {
var objects = {};
var myTestVar = "myTestObject";
objects.myTestObject = { 'item1' : 100, 'item2' : 12, 'item4' : 18 };
var myValue = objects[myTestVar].item1;
alert(myValue);
}();
, , , , :
var x = (function() { return 5; })();
var x = function() { return 5; }();
, , , - .