Whats wrong with it?

Whats wrong with it?
0

#1

Your code so far

var myMusic = [
  {
    "artist": "Billy Joel",
    "title": "Piano Man",
    "release_year": 1973,
    "formats": [ 
      "CS", 
      "8T", 
      "LP" ],
    "gold": true
  }
  ];
  myMusic[1] = [
      {
  'artist': "Danny Accolade",
  'title': "GameOver",
  'release_year': 2017,
  'formats': [
    "CD",
    "Cassette",
    "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/58.0.3029.110 Safari/537.36 Edge/16.16299.

Link to the challenge:


#2

You’re going to insert the object directly inside the myMusic array, without using indexes and bracket notation (i.e., you’re going to redefine the myMusic array such that there are two objects in it).


#3

Thank you, but it still doesn’t seem to work.
could you show me your solution?


#4

Show me yours instead. I’ll comment on what you need to do.


#5

Nevermind I got it. Lol Thanks