{"ScriptPreparationCode":"const test1 = () =\u003E {\r\n const baseUrl = \u0022https://www.measurethat.net\u0022;\r\n const params = {\r\n id: 4,\r\n benchmark: 5832\r\n };\r\n\r\n const queryString = Object.entries(params)\r\n .map(([key, value]) =\u003E \u0060${key}=${value}\u0060)\r\n .join(\u0022\u0026\u0022);\r\n\r\n const fullUrl = new URL(\u0060${baseUrl}?${queryString}\u0060)\r\n}\r\nconst test2 = ()=\u003E{\r\n const url = new URL(\u0022https://www.measurethat.net\u0022);\r\n const params = { id: 4, benchmark: 5832 };\r\n\r\n for (const [key, value] of Object.entries(params)) {\r\n url.searchParams.append(key, value);\r\n}\r\n}","TestCases":[{"Name":"URL String","Code":"test1()","IsDeferred":false},{"Name":"URL SearchParams","Code":"test2()","IsDeferred":false}]}