Stuck on Manipulating Complex Objects

Stuck on Manipulating Complex Objects
0.0 0

#1

Code so far

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

Need to add a new album to the myMusic array. Add artist and title strings, release_year number, and a formats array of strings.

Help !!


#2

Finally i i have figured it out.

here is my Code

var myMusic = [
  {
    "artist_": "Billy Joel",
    "title": "Piano Man",
    "release_year": 1973,
    "formats": [ 
      "CS", 
      "8T", 
      "LP" ],
    "gold": true,
    
  }

,{
        "artist": "Bruno Mars",
        "title": :"24k",
        "release" : 2016,
        "formats" : [
           "CS",
           "8T",
           "LP" ],
"gold": true,
}
];