If you are replacing a property on an object that is a reference to a giant object, does it ever make sense to delete that property before replacing it?
const a = {
child: b //Reference to big object
}
delete a.child;
a.child = c; //Another big object
vs
const a = {
child: b //Reference to big object
}
a.child = c; //Another big object