function parseQueryString(url){
let str = url.split('?')[1];
let obj = {};
let temp = str.split('&');
for(let i=0; i<temp.length; i++)
{
let temp2 = temp[i].split('=');
obj[temp2[0]] = temp2[1];
}
return obj;
}
function parseQueryString(url){
let str = url.split('?')[1];
let obj = {};
let temp = str.split('&');
for(let i=0; i<temp.length; i++)
{
let temp2 = temp[i].split('=');
obj[temp2[0]] = temp2[1];
}
return obj;
}