Skip to content

Instantly share code, notes, and snippets.

@bitfishxyz
Created January 30, 2019 14:02
Show Gist options
  • Save bitfishxyz/8a828980aa65e0327f60f0f6d4dec6b0 to your computer and use it in GitHub Desktop.
Save bitfishxyz/8a828980aa65e0327f60f0f6d4dec6b0 to your computer and use it in GitHub Desktop.
var a = [1, 2, 3]
for(let key in a){
console.log(key)
}
console.log(Object.getOwnPropertyDescriptor(a, 'length'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment