title: Javascript ENUM pattern naming convention
body: <p>I am working on a javascript project which requires use of javascript "Enums" meaning Objects like:</p>
  
  <pre><code>var WinnerEnum = {
              Player1: 1,
              Player2: 2,
              Draw: 0
      };
  </code></pre>
  
  <p>This is working great for me, however, I have no idea what is the proper way (according to convention) to name the Enum because as far as I know only class names start with a capital letter (indicating the ability to call a constructor on). </p>
  
  <p>JSHint also outputs the following warning:</p>
  
  <pre><code>Missing 'new' prefix when invoking a constructor.
  </code></pre>
  
  <p>If there is no convention, I would appreciate a good way to name enums that would not confuse them with class names. <strong>Update 2014</strong> : JSHint no longer does this.</p>