Tell us what’s happening:
It says unexpected token on line 4 , everything on that line which is
“title”: “Piano Man”
was there previously so I’m not sure what’s wrong with my answer
Your code so far
const myMusic = [
{
"artist": "Billy Joel"
"title": "Piano Man"
"release_year": 1973,
"formats": [
"CD",
"8T",
"LP"
],
"gold": true
},
"artist": "Smash Mouth"
"title": "All-Star"
"release_year": 2003
"formats": [
"Vinyl",
"Digital",
"CD"
]
];
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Manipulating Complex Objects
Link to the challenge: