Also most JavaScript compressors depend on the var being their or you
could get undesired results.

--
Brandon Aaron

On 10/4/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Ⓙⓐⓚⓔ schrieb:
> > Javascript doesn't have block scoping, providing only global and
> > function scopes!
> >
> That may be right, but in most cases it is enough to keep your code
> clean to prevent problems resulting from the non-existant block scope.
> On the other hand, creating global variables causes quite a lot of
> trouble...
>
> -- Jörn
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to