{"ScriptPreparationCode":"var formNames = {\r\n queryName: \u0027qn\u0027,\r\n sortName: \u0027sn\u0027,\r\n recursive: \u0027rn\u0027,\r\n};\r\n\r\nvar values = { sn: 1, youpla: \u0027toto\u0027 };\r\nvar url = \u0022qn=Egalite\u0026sn=count%20desc\u0026toto=tata\u0022;","TestCases":[{"Name":"old","Code":"let params = Qs.parse(url);\r\nObject.keys(formNames).forEach((key) =\u003E {\r\n delete params[formNames[key]];\r\n});\r\n\r\n_.merge(params, values);","IsDeferred":false},{"Name":"new","Code":" const url_params = Qs.parse(url);\r\n const to_exclude = _.values(formNames);\r\n const params_cleaned = _.omit(url_params, to_exclude);\r\n\r\n Object.assign(params_cleaned, values);","IsDeferred":false}]}