Post 8 made on Sunday October 3, 2010 at 13:44 |
BluPhenix Long Time Member |
Joined: Posts: | December 2008 371 |
|
|
Yes, the
System.getGlobal(zone2on) === null
evaluates as true because the variable doesn't exist, it's not that it exists but is uinitlialised.
So if the variable doesnt exist -> null if uninitialised -> undefined
|
|
|