Created
June 22, 2017 15:34
-
-
Save FreddyPoly/89b345b46073146c81215de631b05b97 to your computer and use it in GitHub Desktop.
[JAVASCRIPT] Displaying content of every field of an object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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