{"ScriptPreparationCode":"window.string = \u0027hola=mundo\u0026soy=david\u0027\r\n\r\nwindow.parseQuery = (query) =\u003E {\r\n const searchParams = new URLSearchParams(query);\r\n\r\n const result = {}\r\n\r\n for (const key in searchParams.keys()) {\r\n const items = searchParams.getAll(key)\r\n result[key] = items.length - 1 ? items : items[0]\r\n }\r\n\r\n return searchParams;\r\n};","TestCases":[{"Name":"query-string","Code":"qs.parse(string)","IsDeferred":false},{"Name":"URLSearchParams","Code":"parseQuery(string)","IsDeferred":false}]}