Manipulating Complex Objects in javascript

Manipulating Complex Objects in javascript
0

#1

Tell us what’s happening:
I am being stuck at this code, please help me out with the error in this code.

Your code so far

var myMusic = [
  {
    "artist": "Billy Joel",
    "title": "Piano Man",
    "release_year": 1973,
    "formats": [ 
      "CS", 
      "8T", 
      "LP" ],
    "gold": true
  }
    ]
[
  {
    "artist": "Megha Agarwal",
    "title" : "Love",
    "relese_year" : 2015,
    "formats" : [
      "CS",
      "8T",
      "LP"]
  }
];

Your browser information:

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

Link to the challenge:


#2

You have too many [] and you’re missing a comma between your array elements.