Skip to content

Instantly share code, notes, and snippets.

@nairihar
Created July 1, 2018 10:42
Show Gist options
  • Save nairihar/e084a0d35cde3983a2c87b2e4a7e20f1 to your computer and use it in GitHub Desktop.
Save nairihar/e084a0d35cde3983a2c87b2e4a7e20f1 to your computer and use it in GitHub Desktop.
JavaScript series, part 2, Map, medium
const obj = {
0: 0,
z: 3,
'$': 6,
b: 4,
1: 6,
4: 1
};
for (const i in obj) {
console.log(i);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment