Manipulating Complex Objects, having issues regarding the topic

This is very trick, please kindly jump in with guidance, i’ve read my guiding description of what is expected of me but i seem to not come with a correct solution. please kindly assist.

  **Your code so far**

const myMusic = [
{
  "artist": "Billy Joel",
  "title": "Piano Man",
  "release_year": 1973,
  "formats": [
    "CD",
    "8T",
    "LP"
  ],
  "gold": true
},
{
  "artist": "Willie Smity",
  "tittle": "Drums",
  "release_year": 2021
  "forrmats": [
    " CD",
    "Apple Music",
    "Muzmo"
  ],
  "gold": true
}
];
  **Your browser information:**

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

Challenge: Manipulating Complex Objects

Link to the challenge:

Please again read the program instruction.

if you see in your console, there is this error

// running tests
SyntaxError: unknown: Unexpected token, expected "," (17:2)

  15 |   "tittle": "Drums",
  16 |   "release_year": 2021
> 17 |   "forrmats": [
     |   ^
  18 |     " CD",
  19 |     "Apple Music",
  20 |     "Muzmo"

it says it is expecting a comma and instead got something different. Aren’t you missing something there?

1 Like