I have a function that sets a timer, and calls itself back upon expiration of the timer.
What I\'d like to know is if it is bad practice to clear the timer at the top o
Yes you can call clearTimeout on a nullvariable.
null
Also i would suggest you change your setTimeout so it won't use eval:
setTimeout
eval
timer = setTimeout(onAir,60000);