Created
August 23, 2020 03:25
-
-
Save blakewood84/6bfaaa02cffeca638b6d0881da55adc8 to your computer and use it in GitHub Desktop.
Article on .map() - defining data array
This file contains 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 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