{"ScriptPreparationCode":"var range = (from, to) =\u003E {\r\n const output = []\r\n for(var x = from; x \u003C to; x\u002B\u002B){\r\n output.push(x)\r\n }\r\n return output\r\n}","TestCases":[{"Name":"with spread operator","Code":"range(0, 10).reduce((acc, num) =\u003E {\r\n return {\r\n ...acc,\r\n [num]: num\r\n }\r\n}, {})","IsDeferred":false},{"Name":"with mutation","Code":"range(0, 10).reduce((acc, num) =\u003E {\r\n acc[num] = num\r\n return acc\r\n}, {})","IsDeferred":false},{"Name":"with object assign","Code":"range(0, 10).reduce((acc, num) =\u003E {\r\n return Object.assign(acc, {[num]: num})\r\n}, {})","IsDeferred":false}]}