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
var myMusic = [
{
"artist": "Billy Joel",
"title": "Piano Man",
"release_year": 1973,
"formats": [
"CD",
"8T",
"LP"
],
"gold": true
}
// Add a record here
];
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.
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.