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