Hi all, I have a question for future reference relating to the record collection exercise.
Is there a reason why when I tried to add the tracks property to records that didn’t have it at all using just :
collection[id][prop] = value;
It wouldn’t go through (pictured below), but when I make an empty “tracks” property and then push my value into it, it works?
collection[id][prop] = ;
I’m a bit confused why the first method worked for other properties like artist and album, but didn’t work for the tracks. TIA for any clarification.