{"ScriptPreparationCode":"var a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];","TestCases":[{"Name":"reduce","Code":"return a.reduce((acc, item) =\u003E {\r\n \tacc[item] = undefined;\r\n \t\r\n\treturn acc;\r\n}, {});","IsDeferred":false},{"Name":"for loop","Code":"const out = {};\r\n\r\nfor(let i = 0; i \u003C a.length; i\u002B\u002B) {\r\n out[a[i]] = undefined;\r\n}\r\n\r\nreturn out;","IsDeferred":false},{"Name":"forEach loop","Code":"const out = {};\r\n\r\na.forEach((key) =\u003E {\r\n\tout[key] = undefined;\r\n})\r\n\r\nreturn out;","IsDeferred":false}]}