Skip to content

Instantly share code, notes, and snippets.

@ludovicwyffels
Created May 28, 2018 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ludovicwyffels/6b461a97cfb638b1ad4d523414590254 to your computer and use it in GitHub Desktop.
Save ludovicwyffels/6b461a97cfb638b1ad4d523414590254 to your computer and use it in GitHub Desktop.
let obj = {
a: 1,
b: 2,
c: 3,
d: 9
};
console.log(obj.propertyIsEnumerable('a'));
for (let key in obj) {
console.log(obj[key]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment