Man. Complex Objects

Tell us what’s happening:
Hey, did you know why I cannot use this symbol " : " for this solution??

{
  "artist": "Daft Punk",
  "title": "Homework",
  "release_year": 1997,
  "formats": [ 
    "CD",
    "Cassette",
    "LP"
  ],
  "gold": true
}
SyntaxError: unknown: Unexpected token, expected ";" (16:10)

  14 | ];
  15 | {
> 16 |   "artist": "Deftones",
     |           ^
  17 |   "title": "Nightmare",
  18 |   "release_year": 1999,
  19 |   "formats": [ 

Thanks

Your browser information:

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

Challenge: Manipulating Complex Objects

Link to the challenge:

Got it already.
Just needed to add var myMusic

good

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.