Why not undefined?


#1

So I'm experimenting with some code and I'm trying to figure out why it alerts "true" and not "undefined". Maybe someone could explain for me, would appreciate that a lot!

The code:


#2

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/delete


#3

Thank you, seems like my teacher didnt know that.