Plz help I can't tell what's wrong

Tell us what’s happening:
I don’t know what’s wrong in it as I am pretty confident that my solution is more or less right ,
In the correction box ( the one below the coding pad) it says :

SyntaxError: unknown: Unexpected token, expected “,” (10:11)

Thank You!!

Your code so far


var myMusic = [
{
  "artist": "Billy Joel",
  "title": "Piano Man",
  "release_year": 1973,
  "formats": [
    "CD",
    "8T",
    "LP",
  "gold" : true
 }
  ,
{
  "artist": "Jimmy Gill",
  "title": "The Forlorn Comedy",
  "release_year": 1999,
  "formats":[
    "CD",
    "8T",
    "DVD"
  ],
}// Add a record here
];

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36.

Challenge: Manipulating Complex Objects

Link to the challenge:

the array is never closed, so the : inside the array is wrong syntax

1 Like

thank you it was such a silly mistake :sweat_smile:
It really helped though thank you.