{"ScriptPreparationCode":"var data = [\r\n ...Array.from({\r\n length: 20000\r\n }, (_, i) =\u003E ({\r\n id: (20 \u002B i).toString(),\r\n name: \u0060Task ${20 \u002B i}\u0060,\r\n start_date: \u00602024-${String(Math.floor(Math.random() * 12) \u002B 1).padStart(2, \u00270\u0027)}-01\u0060,\r\n end_date: \u00602024-${String(Math.floor(Math.random() * 12) \u002B 1).padStart(2, \u00270\u0027)}-28\u0060,\r\n budgeted_hours: Math.floor(Math.random() * 100) \u002B 1,\r\n status: \u0022some status\u0022\r\n })),\r\n];","TestCases":[{"Name":"Reduce","Code":"const result = data.reduce((acc, audit) =\u003E {\r\n acc.push({\r\n id: audit.id,\r\n title: audit.name,\r\n startDate: audit.start_date,\r\n endDate: audit.end_date,\r\n budgetedHours: audit.budgeted_hours,\r\n status: audit.status,\r\n });\r\n\r\n return acc;\r\n}, []);","IsDeferred":false},{"Name":"Map","Code":"const result = data.map((audit, i) =\u003E {\r\n return {\r\n id: audit.id,\r\n title: audit.name,\r\n startDate: audit.start_date,\r\n endDate: audit.end_date,\r\n budgetedHours: audit.budgeted_hours,\r\n status: audit.status,\r\n }\r\n});","IsDeferred":false}]}