{"ScriptPreparationCode":"const size = 1000;\r\n\r\nvar items = [];\r\nfor (let i = 0; i \u003C size; i \u002B= 1) {\r\n items.push({\r\n id: \u0060item-${i}\u0060,\r\n value: \u0060Item ${i}\u0060\r\n });\r\n}","TestCases":[{"Name":"spread","Code":"const results = items.reduce((list, cur) =\u003E {\r\n\treturn { ...list, [cur.id]: cur.value };\r\n}, {});","IsDeferred":false},{"Name":"non-spread","Code":"const results = items.reduce((list, cur) =\u003E {\r\n const updatedItems = list;\r\n updatedItems[cur.id] = cur.value;\r\n return updatedItems;\r\n}, {});","IsDeferred":false}]}