I have tried everything but I cannot figure out why my code is not working for this exercise:
var myMusic = [
{
"artist": "Billy Joel",
"title": "Piano Man",
"release_year": 1973,
"formats": [
"CD",
"8T",
"LP"
],
"gold": true
}
// Add record here
{
"artist": "U2",
"title": "Joshua Tree",
"release_year": 1985,
"formats": [
"CD",
"8T",
"LP"
],
}
];
I receive this error:
SyntaxError: unknown: Unexpected token, expected "," (14:4)
12 | }
13 | // Add record here
14 | {
| ^
15 | "artist": "U2",
16 | "title": "Joshua Tree",
17 | "release_year": 1985,