title: Chrome error: 'unknown message reserved_word' on JavaScript enum declaration
body: <pre><code>enum ButtonType { Autowoot, Autoqueue }
  </code></pre>
  
  <p>Is causing Google Chrome's developer tools to give me this error:</p>
  
  <pre><code>Uncaught SyntaxError: &lt;unknown message reserved_word&gt;
  </code></pre>
  
  <p>I read that you can create enumerations like that from <a href="http://answers.unity3d.com/questions/15250/how-to-declare-and-use-a-enum-variable-in-javascri.html" rel="nofollow">here</a>, but my script doesn't run because of this error here.  I'm doing exactly what that person who answered the question wrote, and it doesn't function.  Any ideas?</p>
  
  <p>Thanks!</p>