This is my code i dont understand what is it that i am doing wrong

tracks : [];
/*prop can be an array with a list of tracks or it can be just an artist */
if(prop != 'tracks' && value != ''){
  prop = value;
}
else if(prop == 'tracks'){
 tracks = [value];
}
else if(prop == 'tracks' && value != ''){
   tracks.push(value);
} else if(value == ''){
  delete object.prop;
}

return object;

// Setup
var collection = {
2548: {
  albumTitle: 'Slippery When Wet',
  artist: 'Bon Jovi',
  tracks: ['Let It Rock', 'You Give Love a Bad Name']
},
2468: {
  albumTitle: '1999',
  artist: 'Prince',
  tracks: ['1999', 'Little Red Corvette']
},
1245: {
  artist: 'Robert Palmer',
  tracks: []
},
5439: {
  albumTitle: 'ABBA Gold'
}
};

// Only change code below this line
function updateRecords(object, id, prop, value) {
tracks : [];
/*prop can be an array with a list of tracks or it can be just an artist */
if(prop != 'tracks' && value != ''){
  prop = value;
}
else if(prop == 'tracks'){
 tracks = [value];
}
else if(prop == 'tracks' && value != ''){
   tracks.push(value);
} else if(value == ''){
  delete object.prop;
}

return object;
}

updateRecords(collection, 5439, 'artist', 'ABBA');
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36.

Challenge: Record Collection

Link to the challenge:

You seem to have accidentally deleted the Tell us what’s happening section, where you explain what problem you are facing and what you need help with. The more you tell us, the more we can help.