Hi,
Is there a way to solve this problem using push rather than modifying the myMusic object directly?
Your code so far
var myMusic = [
{
"artist": "Billy Joel",
"title": "Piano Man",
"release_year": 1973,
"formats": [
"CD",
"8T",
"LP"
],
"gold": true
}
// Add a record here
];
myMusic.push(["artist", "Daft Punk", "title", "Homework", "release_year", "format"])
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36
.
Challenge: Manipulating Complex Objects
Link to the challenge: