Skip to content

Instantly share code, notes, and snippets.

@Proful
Created July 13, 2020 01:35
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 Proful/079ec487e47f3c6cf20f5066d935a399 to your computer and use it in GitHub Desktop.
Save Proful/079ec487e47f3c6cf20f5066d935a399 to your computer and use it in GitHub Desktop.
const twit = { name: 'Proful', followers: 1483}
console.log(Object.entries(twit))
Object.entries(twit).forEach(([key,value],index) => {
console.log(`${index}. ${key} => ${value}`)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment