url.js 112 B

1234
  1. export function getParam(p) {
  2. var url = new URL(window.location.href);
  3. return url.searchParams.get(p);
  4. }