{"ScriptPreparationCode":"function createSlices(numSlices, propsPerSlice = 5) {\r\n const arr = [];\r\n\r\n for (let i = 0; i \u003C numSlices; i\u002B\u002B) {\r\n const o = {};\r\n for (let j = 0; j \u003C propsPerSlice; j\u002B\u002B) {\r\n o[\u0060key_${i}_${j}\u0060] = \u0060${i}_${j}\u0060;\r\n }\r\n arr.push(o);\r\n }\r\n\r\n return arr;\r\n}\r\n\r\nvar slices = createSlices(100);","TestCases":[{"Name":"Reduce / Spread","Code":"slices.reduce((store, slice) =\u003E ({ ...store, ...slice }), {});","IsDeferred":false},{"Name":"Assign / Single spread","Code":"Object.assign({}, ...slices);","IsDeferred":false},{"Name":"fromEntries / Entries","Code":"Object.fromEntries(\r\n slices\r\n .map((slice) =\u003E Object.entries(slice))\r\n .flat()\r\n);","IsDeferred":false},{"Name":"Assign / Mutate first obj","Code":"slices.unshift({});\r\nObject.assign(...slices);","IsDeferred":false}]}