Last active
August 18, 2019 15:25
-
-
Save jbmilgrom/60c0d35487adb928ca67c5235dcfeca3 to your computer and use it in GitHub Desktop.
Example of arbitrary immutable data
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 profiles = [ | |
{ | |
lastName: "Curry", | |
firstName: "Steph", | |
team: "WARRIORS" | |
}, | |
{ | |
lastName: "James", | |
firstName: "Lebron", | |
team: "LAKERS", | |
}, | |
{ | |
lastName: "Anthony", | |
firstName: "Davis", | |
team: "LAKERS", | |
} | |
] as const; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment