title: Why the error comes out as missing { before function body?
body: <p>I have both curly brackets but it keeps giving me this error. Is it lacking of something?   </p>
  
  <pre><code>outerDiv.ondragstart = function()
  { 
      return false;
  }
  </code></pre>