Yea, I had not thought of that. I had to think back. The last shop I worked at did have a few issues between QA/code review teams and the development teams. I attribute that to poor test cases, though. Still, good communication goes a long way. Thanks!
Great tip, I remember this one causing me all kinds of havoc. You could also declare the console object if it doesn't exist. Then set log to a function that does nothing. Just in case... :)