{"ScriptPreparationCode":"function createArray(propsCount) {\r\n const arr = []\r\n for (let i = 0; i \u003C propsCount; i \u002B= 1) {\r\n arr.push({\r\n active: i % 5 === 0\r\n })\r\n }\r\n return arr\r\n}\r\n\r\nvar users = createArray(1000)","TestCases":[{"Name":"Reduce","Code":"users.reduce((acc, curr) =\u003E {\r\n acc[curr.id] = curr;\r\n return acc;\r\n})","IsDeferred":false},{"Name":"From Entries","Code":"Object.assign(\r\n {},\r\n ...users.map(k =\u003E ({\r\n [k.id]: k,\r\n })),\r\n );","IsDeferred":false}]}