Complex Data Structures

Complex Data Structures
0

#1

Why is my code considered incorrect and how do I make a complex data structure correctly?

var myMusic = [
{
“artist”: “Billy Joel”,
“title”: “Piano Man”,
“release_year”: 1973,
“formats”: [
“CS”,
“8T”,
“LP” ],
“gold”: true
} {
“artist”: “Casey Perez”,
“title”: “Ender”,
“release_year”: 2016,
“formats”: [
“CS”,
“8T”,
“LP” ]
}
]

];

Link to the challenge:


#2

Arrays should have each item separated by a comma.

This one is tricky, but you have just one little comma missing :slight_smile:


#3

I’m looking through and I can’t figure out where I would need to place a comma.


#4

Nevermind, I’ve got it. I never realized I had to put a comma where it was missing.