Skip to content

Instantly share code, notes, and snippets.

@davidostermann
Created November 27, 2017 18:20
Show Gist options
  • Save davidostermann/63194ace6a118f38261ec21f2ad3bb17 to your computer and use it in GitHub Desktop.
Save davidostermann/63194ace6a118f38261ec21f2ad3bb17 to your computer and use it in GitHub Desktop.
object entries
Object.entries(obj).map(([key, value], i) =>
<p key={i}> {key} : <strong>{value}</strong></p>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment