{"ScriptPreparationCode":"var arr = [],\r\nLoopFunctionHandle = { halt: false };\r\n\r\nfor (var i = 0; i \u003C 1000; i\u002B\u002B) {\r\n arr[i] = i;\r\n}\r\n \r\nfunction someFn(i) {\r\n return i * 3 * 8;\r\n}","TestCases":[{"Name":"foreach","Code":"arr.forEach(function (item)\r\n{\r\n if (!LoopFunctionHandle.halt)\r\n {\r\n someFn(item);\r\n }\r\n});","IsDeferred":false},{"Name":"for","Code":"for (var i = 0, len = arr.length; i \u003C len; i\u002B\u002B)\r\n{\r\n someFn(arr[i]);\r\n}","IsDeferred":false}]}