I have found the following article by ben cherry to be the most useful
way to detect unintended globals and also a justification to use var
for all global variables.

http://www.adequatelygood.com/2010/2/Finding-Improper-JavaScript-Globals?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+adequatelygood+%28Adequately+Good%29

On Jan 13, 9:15 pm, jdalton <[email protected]> wrote:
> I remember @kangax made a bookmarklet to do this that uses an iframe's
> untouched global for comparisons.https://github.com/kangax/detect-global

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to