Manipulating Complex Objects.(what's wrong)

Manipulating Complex Objects.(what's wrong)
0.0 0

#1

Tell us what’s happening:

please i don’t know why my code is not passing. what am i doing wrong?

Your code so far

var myMusic = [
  {
    "artist": "Billy Joel",
    "title": "Piano Man",
    "release_year": 1973,
    "formats": [ 
      "CS", 
      "8T", 
      "LP" ],
    "gold": true
  }
  // Add record here
 {
   "artist": "Nicki Minaj",
   "title": "Grand Piano",
    "release_year": 2016,
    "formats":[
      "CD",
      "Cassette",
      "EP" ]
    
  }

  ];

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36.

Link to the challenge:


#2

Read the instructions… it’s expecting another object at index #1. And indexes start at 0.

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