в чем ошибка?

if (prop !== "tracks" && value !== "") {
collestion[id][prop] = value;
} else if (prop != "tracks") {
collection[id][prop] = [];
collection[id][prop] = push(value);
} else if (collection[id].hasOwnProperty(prop) && collection[id].hasOwnProperty(value) ){
collection[id][prop] = push(value);
} else if (value == ""){
deleted collection[id][prop];
}