Skip to content

Instantly share code, notes, and snippets.

@blakewood84
Created August 23, 2020 03:25
Show Gist options
  • Save blakewood84/6bfaaa02cffeca638b6d0881da55adc8 to your computer and use it in GitHub Desktop.
Save blakewood84/6bfaaa02cffeca638b6d0881da55adc8 to your computer and use it in GitHub Desktop.
Article on .map() - defining data array
const data = [
{
name: "Kylo Ren",
age: "30",
type: "Sith Lord",
}
{
name: "Luke Skywalker",
age: "22",
type: "Jedi",
}
{
name: "Han Solo",
age: "32",
type: "Rebel Hero",
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment