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