{"ScriptPreparationCode":"var newArray = Array(100000)\r\n .fill({})\r\n .map((_, index) =\u003E ({\r\n index\r\n }));\r\n\r\nfunction withMap(arr) {\r\n return arr.map(({\r\n index\r\n }) =\u003E ({\r\n success: true,\r\n id: index\r\n }));\r\n};\r\n\r\nfunction withForOf(arr) {\r\n const results = [];\r\n\r\n for (const {\r\n index\r\n } of arr) {\r\n results.push({\r\n success: true,\r\n id: index\r\n });\r\n }\r\n\r\n return results;\r\n};","TestCases":[{"Name":"Array.Map","Code":"withMap(newArray)","IsDeferred":false},{"Name":"For of","Code":"withForOf(newArray)","IsDeferred":false}]}