{"ScriptPreparationCode":"var params = {a: 1, b: 2, c: 3, d: 4};","TestCases":[{"Name":"Reduce using Object.entries","Code":"const p = Object.entries(params).reduce((acc, [key, value]) =\u003E {\r\n acc[key] = value;\r\n return acc;\r\n}, {});","IsDeferred":false},{"Name":"Reduce using Object.keys","Code":"const p = Object.keys(params).reduce((acc, key) =\u003E {\r\n acc[key] = params[key];\r\n return acc;\r\n}, {});","IsDeferred":false},{"Name":"Object.keys and for loop","Code":"const acc = {};\r\n\r\nfor (let i = 0, keys = Object.keys(params); i \u003C keys.length; i\u002B\u002B) {\r\n acc[keys[i]] = params[keys[i]];\r\n}","IsDeferred":false}]}