JavaScript básico - Colección de discos

Hola, necesito ayuda en esto, ya hice los procedimientos bien pero me sigue dando error revise como es la respuesta y me da error

Tu código hasta el momento

// Configuración
const recordCollection = {
  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'
  }
};

// Cambia solo el código debajo de esta línea
function updateRecords(records, id, prop, value) {
  if(value === "") {
    delete records[id][prop]
  } else if(prop !== "tracks" && value !== "") {
    records[id][prop] = value;
} else if(prop = "tracks" && value !== "") {
   if(records[id].hasOwnProperty("tracks") === false)
   records[id][prop] = [];
} 
 return records;
}

console.log(updateRecords(recordCollection, 5439, "artist", "ABBA"))

console.log(updateRecords(recordCollection, 5439, "tracks", "Take a Chance on Me"))

console.log(updateRecords(recordCollection, 2548, "artist", ""))

console.log(updateRecords(recordCollection, 1245, "tracks", "Addicted to Love"))

console.log(updateRecords(recordCollection, 2468, "tracks", "Free"))

console.log(updateRecords(recordCollection, 2548, "tracks", ""))

console.log(updateRecords(recordCollection, 1245, "albumTitle", "Riptide"))

Información de tu navegador:

El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 OPR/98.0.0.0 (Edition std-1)

Challenge: JavaScript básico - Colección de discos

Enlaza al desafío:

I see two things that need to be fixed here.

Are you sure the first part of this condition is correct?

This is good, you create the empty array if the property doesn’t exist. But do you then add the value to the array?