Possible Duplicate:
Why is it bad to make elements global variables in Javascript?
In the JavaScript bible, it is said that global variables (variables declared without the "var" keyword) are a very bad thing. Ok, comparing to strongly typed languages like Java or C++ JavaScript is like a street gang slang (was!).
But are there any performance problems? Or is it causing the browser to crash? Or are there some actual noticeable difference when using globals?
I have learned JavaScript on my own and I follow the guidelines of the books and experts, but it will be nice to know why this is such an important subject.