{"ScriptPreparationCode":"function getArr() {\r\n \treturn Array(1000).fill(1);\r\n//\tvar arr = [];\r\n// for (var i = 0; i \u003C 1000; i\u002B\u002B) {\r\n// arr[i] = i;\r\n// }\r\n// return arr;\r\n}\r\n \r\nfunction someFn(i) {\r\n return i * 3 * 8;\r\n}","TestCases":[{"Name":"foreach","Code":"var arr = getArr();\r\narr.forEach((item) =\u003E {\r\n someFn(item);\r\n})","IsDeferred":false},{"Name":"map","Code":"var arr = getArr();\r\narr.map(item =\u003E someFn(item));","IsDeferred":false},{"Name":"for each","Code":"var arr = getArr();\r\nfor (var i = 0; i \u003C arr.length; i\u002B\u002B) {\r\n someFn(arr[i]);\r\n}","IsDeferred":false},{"Name":"for each cached","Code":"var arr = getArr();\r\nfor (var i = 0, len = arr.length; i \u003C len; i\u002B\u002B) {\r\n someFn(arr[i]);\r\n}","IsDeferred":false},{"Name":"for each cached reversed ","Code":"var arr = getArr();\r\nfor (var i = arr.length - 1; i \u003E= 0; i--) {\r\n someFn(arr[i]);\r\n}","IsDeferred":false}]}