Manipulating Complex Objects JS

Manipulating Complex Objects JS
0

#1

it’s just my proposition of code for this chalenge :slight_smile:

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

Link to the challenge:


I’ve edited your post for readability. When you enter a code block into the forum, remember to precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard.


#2

Man, i’ve been looking all over the place to find this and I didn’t understand why mine was not working;
Man, those comma’s kill us.