Should you really be assigning tome[k] = undefined?