{"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 var arr2 = [];\r\n for (var i = 0; i \u003C 1000; i\u002B\u002B) {\r\n arr2[i] = i;\r\n }","TestCases":[{"Name":"ForEach","Code":"let result = [];\r\narr.forEach(num =\u003E result.push({num: num}))\r\narr2.forEach(num =\u003E result.push({num: num}))","IsDeferred":false},{"Name":"Map","Code":"let result = arr.map(num =\u003E {num: num}).concat(arr2.map(num =\u003E {num: num}))","IsDeferred":false}]}