{"ScriptPreparationCode":null,"TestCases":[{"Name":"Object.assign","Code":"const items = Array.from(Array(10).keys());\r\nitems.reduce((memo, val) =\u003E Object.assign(memo, { [\u0060id-${val}\u0060]: val }), {});","IsDeferred":false},{"Name":"Map","Code":"const items = Array.from(Array(10).keys());\r\nObject.fromEntries(items.reduce((memo, val) =\u003E memo.set(\u0060id-${val}\u0060, val), new Map()));","IsDeferred":false},{"Name":"Spread","Code":"const items = Array.from(Array(10).keys());\r\nitems.reduce((memo, val) =\u003E ({ ...memo, [\u0060id-${val}\u0060]: val }), {});","IsDeferred":false}]}