hello, world
function getUrlParam(url,param) { var url = new URL(url), param = url.searchParams.get(param); return param; }
该方法在主流浏览器上均可运作,除了万恶的IE……