{"ScriptPreparationCode":"var location_href = \u0022https://www.youtube.com/watch?v=x2rvSf0STBM\u0026list=RDCLAK5uy_kvhjcPWzH7xZL-WnqGbiA_euQGy5_cbHI\u0026start_radio=1\u0022;\r\nvar location_search = \u0022?v=x2rvSf0STBM\u0026list=RDCLAK5uy_kvhjcPWzH7xZL-WnqGbiA_euQGy5_cbHI\u0026start_radio=1\u0022;\r\nvar loop = 10000;\r\nvar loop_n = 3000;\r\nvar urls = new Array(loop_n).fill(0).map(()=\u003E{\r\n let t = Math.round(Math.random()*80000\u002B10000);\r\n return {\r\n href: \u0060${location_href}${t}\u0060,\r\n search: \u0060${location_search}${t}\u0060\r\n };\r\n})","TestCases":[{"Name":"Deletion with Url constructor and search params","Code":"for(let i=loop_n;--i;){\r\n\tnew URL(urls[i].href).searchParams.delete(\u0022start_radio\u0022);\r\n}","IsDeferred":false},{"Name":"Deletion with RegExp and replace","Code":"for(let i=loop_n;--i;){\r\n const regex = new RegExp(\u0027[?|\u0026]start_radio=\\\\d\u0027, \u0027\u0027);\r\n\t urls[i].href.replace(regex, \u0027\u0027)\r\n}","IsDeferred":false}]}