3 ms·
Steve Yeggae's js2-mode highlights globals during editing, and it's saved me a good many times. http://code.google.com/p/js2-mode/ http://code.google.com/p/js2
by johnbender 15y ago
Steve Yeggae's js2-mode highlights globals during editing, and it's saved me a good many times.
http://code.google.com/p/js2-mode/ http://code.google.com/p/js2-mode/
Mind you it won't catch globals declared in chained assignments
eg
var x = y = 0; // y is defined globally