var highlight = "2px solid rgb(255, 0, 0)";
var borderStyle = theCell.style.border;
var borderStyle = theCell.style.border;. Here a copy of only the value of border is assigned to borderStyle. The object which is
theCell remained unharmed at its place. No reference is created to it.