Created
July 1, 2018 10:42
-
-
Save nairihar/e084a0d35cde3983a2c87b2e4a7e20f1 to your computer and use it in GitHub Desktop.
JavaScript series, part 2, Map, medium
This file contains hidden or 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 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