Tell us what’s happening:
How can I Show that array with console.log?
When I write:
console.log(myMusic[0]); //that show me [object Object]
How can I see the values?
I appreciate the help.
Your code so far
var myMusic = [
{
"artist": "Billy Joel",
"title": "Piano Man",
"release_year": 1973,
"formats": [
"CD",
"8T",
"LP"
],
"gold": true
},
// Add record here
{
"artist": "Jon Bellion",
"title": "Glory Sound Prep",
"release_year": 2018,
"formats": [
"CD",
"8T",
"LP"
],
"gold": true
}
];
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/manipulating-complex-objects/