{"ScriptPreparationCode":"data = _.range(100)","TestCases":[{"Name":"immer","Code":"const reducer = immer.produce((draft, curr) =\u003E { draft[0] = 0; });\r\nconst answer = data.reduce(reducer, {})","IsDeferred":false},{"Name":"Mutate","Code":"const reducer = (draft, curr) =\u003E { draft[0] = 0; return draft; };\r\nconst answer = data.reduce(reducer, {})","IsDeferred":false},{"Name":"Spread","Code":"const answer = data.reduce((acc, curr) =\u003E ({\r\n ...acc,\r\n 0: 0,\r\n}), {});","IsDeferred":false},{"Name":"immer pull up","Code":"const answer = immer.produce({}, draft =\u003E { data.reduce((acc, curr) =\u003E { acc[0] = 0; return acc }, draft) });","IsDeferred":false}]}