{"ScriptPreparationCode":" var arr = [];\r\n for (var i = 0; i \u003C 1000; i\u002B\u002B) {\r\n arr[i] = i;\r\n }\r\n \r\n function someFn(i) {\r\n return i * 3 * 8;\r\n }","TestCases":[{"Name":"foreach","Code":"const arrayResult = []\r\narr.forEach(function (item){\r\n arrayResult.push(someFn(item));\r\n})","IsDeferred":false},{"Name":"for","Code":"const arrayResult = []\r\nfor (var i = 0, len = arr.length; i \u003C len; i\u002B\u002B) {\r\n arrayResult.push(someFn(arr[i]));\r\n}","IsDeferred":false},{"Name":"map","Code":"const arrayResult = arr.map(item =\u003E someFn(item))","IsDeferred":false},{"Name":"for prepare","Code":"const arrayResult = new Array(arr.length)\r\nfor (var i = 0, len = arr.length; i \u003C len; i\u002B\u002B) {\r\n arrayResult.push(someFn(arr[i]));\r\n}","IsDeferred":false},{"Name":"foreach prepare","Code":"const arrayResult = new Array(arr.length)\r\narr.forEach(function (item){\r\n arrayResult.push(someFn(item));\r\n})","IsDeferred":false}]}