{"ScriptPreparationCode":"var arr = Array.from({ length: 100000 }).map((_, index) =\u003E index);","TestCases":[{"Name":"Object.fromEntries","Code":"Object.fromEntries(arr.map(i =\u003E [i, i*2]))","IsDeferred":false},{"Name":"reduce","Code":"arr.reduce((acc, curr) =\u003E {\r\n acc[curr] = curr * 2;\r\n return acc\r\n}, {})","IsDeferred":false},{"Name":"reduce with spread","Code":"arr.reduce((acc, curr) =\u003E {\r\n return {\r\n ...acc,\r\n [curr]: curr * 2,\r\n }\r\n}, {})","IsDeferred":false}]}