about:configAnd set
javascript.options.strict = trueThis is like perl's "use strict;". It also, helpfully, warns about variables with overlaping scope. Since this generates lots of warning from things I don't control (eg jQuery). I prefer to just turn it on occasionally.