Tell us what’s happening:
Add a new album to the myMusic array. Add artist and title strings, release_year number, and a formats array of strings.
I tried several different ways but cannot solve it. Please help
Your code so far
var myMusic = [
{
"artist": "Billy Joel",
"title": "Piano Man",
"release_year": 1973,
"formats": [
"CS",
"8T",
"LP" ],
"gold": true
}
];
var myMusic[1] = [
{
"artist": "Sublime",
"title": "40 Oz's To Freedom",
"releaser_year": 1992
"formats": [
"CD",
"MP3",
"KT" ],
"gold": true
}
// Add record here
];
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
.
Link to the challenge:
https://www.freecodecamp.org/challenges/manipulating-complex-objects