not much. if you place it at the top it will be available to ALL scripts in that script member. good place if you have lots of functions defined where one global is called by lots of them.
where a global is only used by that one function i put it in the handler, when used by lots i put it at the top.
there may be some performance issues but I cant say for sure.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.