title: using enum in Javascript for month number against name
body: <p>I need to use Javascript <code>enum</code>.</p>
  
  <p>I want getting month  name for 1 or 2 or 3 ... or 12</p>
  
  <p>I want to store month in numeric form and against it month name in English.</p>
  
  <p>So it should be some thing like this</p>
  
  <pre><code>var enumMonth= {1:"Jan" , 2:"Feb", "",....,12:"Dec" }
  </code></pre>
  
  <p>So my question is how can I use enum above if I have month number <code>12</code> and I want to retrieve "Dec"?</p>