Not UNDERSTANDING Manipulating Complex Objects

I don’t understand “Manipulating Complex Objects” and I don’t know what to do in the challenge I need help to understand the challenge and Manipulating Complex Objects in general

This is my code below there :point_down:


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

Challenge: Manipulating Complex Objects

Link to the challenge:

1 Like

this is the starting code, have you tried doing anything?

2 Likes

yes , I code in that challenge too much before post it in the forum

Hi @abdulrahman.mhd.anas,

The main point of that challenge to understand the use of nested values. As you can see there the single variable has an array inside the object where the object is in another array.

So  A JavaScript object is one way to handle flexible data. 
They allow for arbitrary combinations of strings, numbers, 
booleans, arrays, functions, and objects. 
2 Likes

Thank you very much. Now I understand the challenge more than before.

but what have you tried?

With your current questions, we don’t have enough context to know what you already know or don’t know, so it is impossible to guide you without just telling you the answer (which we won’t do).

Please provide some example of what you’ve tried and I’m sure you’ll get more help.

Happy coding :slight_smile:

2 Likes

Thank you, But I want to edit this post. but How?

use the edit button in the settings below your post to edit your post

image

1 Like