example
updateQueryStringParameter("https://www.baidu.com?a=123",'b','hello')
//result
https://www.baidu.com/?a=123&b=hello
function updateQueryStringParameter(uri, key, value) {
if (!value) {
return uri;
...
8-04 1,150 views
example
updateQueryStringParameter("https://www.baidu.com?a=123",'b','hello')
//result
https://www.baidu.com/?a=123&b...