Skip to content

Instantly share code, notes, and snippets.

@kypflug
Last active January 17, 2018 15:31
Show Gist options
  • Save kypflug/fdfbaba53706fa93cd0098a35838da07 to your computer and use it in GitHub Desktop.
Save kypflug/fdfbaba53706fa93cd0098a35838da07 to your computer and use it in GitHub Desktop.
let data = Object.keys(document.location).map(prop => {
  return {
    name: prop,
    type: typeof document.location[prop],
    value: document.location[prop]
  };
});
console.table(data);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment