presiannedyalkov
3/28/2019 - 9:50 PM

get URL keys iterator

var urlParams = new URLSearchParams(window.location.search);
// get url keys
for (var key of urlParams.keys()) {
  console.log(key);
}