title: I get this error! [ 'return' statement outside of function ]
body: <p>I was creating a form validator for a client and ran into this weird error <em>only</em> in Internet Explorer (Explorer) 7/8....</p>
  <blockquote>
  <p>'return' outside of function, line 1, char 1</p>
  </blockquote>
  <p>Of course, there was no code whatsoever on line 1. It was a simple commented statement. And there was nothing wring with it in any way. So I knew it was just a debug misdirection.</p>
  <p>I have been pulling my hair out to understand what could be wrong here...</p>
  <p>I have already ruled out the obvious: return statements in a loop, too many return statements in a single function, and any returns actually outside of a legitimate function definition.</p>
  <p>What is the reason for this?</p>