Why output is 1?

Why it is still giving 1 as output? shouldn’t it become undefined as we are deleting the variable x.