delete family.mother.husband;
delete family.father;
delete family.father;
delete family.mother.husband;
function marry(man, woman) {
woman.husband = man;
man.wife = woman;
return {
father: man,
mother: woman
}
}
let family = marry({
name: "John"
}, {
name: "Ann"
});