{"ScriptPreparationCode":"var data = {};\r\nvar array = [];\r\nvar object = {};\r\nfor (var i = 0; i \u003C 1000; i\u002B\u002B) {\r\n var key = Math.random().toString(16).slice(2, 10);\r\n var fn = function(k) {return data[k];}\r\n data[key] = Math.random();\r\n array.push({\r\n key: key,\r\n fn: fn\r\n });\r\n object[key] = fn;\r\n}\r\n","TestCases":[{"Name":"Array","Code":"var sum = 0;\r\nfor (var i = 0; i \u003C array.length; i\u002B\u002B) {\r\n var item = array[i];\r\n sum \u002B= item.fn(item.key);\r\n}","IsDeferred":false},{"Name":"Object","Code":"var sum = 0;\r\nvar keys = Object.keys(object);\r\nfor (var i = 0; i \u003C keys.length; i\u002B\u002B) {\r\n var key = keys[i];\r\n sum \u002B= object[key](key);\r\n}","IsDeferred":false}]}