Hi Guys,
Is there a way to detect the presence of a global variable before it's absence causes an error ? Obviously the solution is to load the EFS which sets the global first..... but for my client this seems to be easily forgotten. Rather than get the error message :
TypeError : myGlobal has no properties
I would like to merely test for it's presence... and put up an alert.
Thanks
Chris
Is there a way to detect the presence of a global variable before it's absence causes an error ? Obviously the solution is to load the EFS which sets the global first..... but for my client this seems to be easily forgotten. Rather than get the error message :
TypeError : myGlobal has no properties
I would like to merely test for it's presence... and put up an alert.
Thanks
Chris
Comment