Skip to content

Instantly share code, notes, and snippets.

@kypflug
Last active Jan 17, 2018
Embed
What would you like to do?
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