Skip to content

Instantly share code, notes, and snippets.

@FreddyPoly
Created June 22, 2017 15:34
Show Gist options
  • Save FreddyPoly/89b345b46073146c81215de631b05b97 to your computer and use it in GitHub Desktop.
Save FreddyPoly/89b345b46073146c81215de631b05b97 to your computer and use it in GitHub Desktop.
[JAVASCRIPT] Displaying content of every field of an object
const keys = Object.keys(obj);
keys.map((key) => {
console.log(`'${key}' : ${obj[key]}`);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment