Saturday, February 5, 2011

What are some of the problems of "Implied Global variables"?

Programmer Question

Javascript good parts defines these kinds of declarations as bad:



foo = value;


The book says "JavaScript�s policy of making forgotten variables global creates
bugs that can be very difficult to find."



What are some of the problems of these implied global variables other than the usual dangers of typical global variable.



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails