Manipulating Complex Objects- please help me to code. I didnt understand the question

Manipulating Complex Objects- please help me to code. I didnt understand the question
0

#1

Tell us what’s happening:

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; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 OPR/48.0.2685.52 (Edition 360-1).

Link to the challenge:


#2

Tell us what’s happening


#3

@Nimmi

A variable is created that is a pointer to an object, they are one in the same.

The object in this case is an array (arrays are objects but don’t worry about that right now), but the array also contains an object (you can see the definition of this object between the curly braces).

The object has properties and values in pairs. The property is also described as a key (good for loops later).

You need to add another object to the array, so you know what to put between array elements. -right?
And . . . you know what the element looks like that they want you to create, because there is already one element in the array. -right?

Does this help?

-WWC