Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object structure #5

Open
diek opened this issue Jan 15, 2024 · 0 comments
Open

Object structure #5

diek opened this issue Jan 15, 2024 · 0 comments

Comments

@diek
Copy link

diek commented Jan 15, 2024

There is no explanation as to why users has 1, while profiles is not numbered:
const profiles = [
{
id: 1,
userID: "1",
favoriteMovieID: "1",
}
]
Verses
const users = {
1: {
id: 1,
name: "Jane Cruz",
userName: "coder",
}
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant