{"ScriptPreparationCode":null,"TestCases":[{"Name":"assign","Code":"const data = [1, 2, 3, 4, 5]\r\n\r\nconst obj = data.reduce((acc, n, idx) =\u003E {\r\n\tacc[idx] = n\r\n return acc\r\n}, {})","IsDeferred":false},{"Name":"spread","Code":"const data = [1, 2, 3, 4, 5]\r\n\r\nconst obj = data.reduce((acc, n, idx) =\u003E {\r\n\treturn {\r\n \t...acc,\r\n \t[idx]: n\r\n }\r\n}, {})","IsDeferred":false}]}