I was making a game and I want to know when a certain variable has gone to not defined. It is condition for an if/else statement. Any way to do it?
I tried equating to another undefined var which I thought would return true but it didn’t work. I also found out that for flash Math.sqrt(-1) != Math.sqrt(-1). Any particular reason?
Thanks in advance.