Site Notice

hello, world

Get URL param

From Project-EPB Commons
function getUrlParam(url,param) {
  var url = new URL(url),
      param = url.searchParams.get(param);
  return param;
}

该方法在主流浏览器上均可运作,除了万恶的IE……