Manipulating Complex Objectss

Tell us what’s happening:
I CAN NOT SOLVE THIS Problem , can u help me plzz ?

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 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

Link to the challenge:
https://www.freecodecamp.org/challenges/manipulating-complex-objects

myMusic is an array[]

the first element: myMusic[0] =
{
“artist”: “Billy Joel”,
“title”: “Piano Man”,
“release_year”: 1973,
“formats”: [
“CS”,
“8T”,
“LP” ],
“gold”: true
}

so your job is to push a new similar element to your array

thank you , but ur code does not work well
can u give me a complete code plzz ?


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

  myMusic.push(
  {
    "artist": "WHATEVER",
    "title": "LOSER TUNES",
    "release_year" : 2005,
    "formats" : ["CS", "8T", "MP3"]
  }
  
  );

thank u so much >>>>