Manipulating Complex Objects exercise

Manipulating Complex Objects exercise
0

#1

Tell us what’s happening:
I have no idea how to do this. The array already exists and it wants me to add a new item but it says error every time. Please help I want to get past 200

Your code so far

var myMusic = [
  {
    "artist": "Billy Joel",
    "title": "Piano Man",
    "release_year": 1973,
    "formats": [ 
      "CS", 
      "8T", 
      "LP" ],
    "gold": true
  }
  // Add record here
];

Your browser information:

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

Link to the challenge:


#2

You will need to show us code where you have tried to add an item. The code above is just the default challenge code.

Remember, all you need to do is add a new element to the existing myMusic array. The element will be an object with similar structure as the “Piano Man” album object. Also, do not forget that array elements must be separated by a certain character.