{"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 newArr = [];\r\narr.forEach(function (item){\r\n newArr.push(someFn(item));\r\n})","IsDeferred":false},{"Name":"for","Code":"const newArr = [];\r\nfor (var i = 0, len = arr.length; i \u003C len; i\u002B\u002B) {\r\n newArr.push(someFn(arr[i]));\r\n}","IsDeferred":false},{"Name":"map","Code":"const newArr = arr.map(item =\u003E someFn(item))","IsDeferred":false}]}