title: Possible to get string value from corresponding integer value - like Enum but not Enum - used for lookup
body: <p>Is it possible to get this to work?</p>
  
  <pre><code> var DaysList = {1:"monday", 2:"tuesday", 3:"wednesday"}
   alert(DaysList .1);
  </code></pre>
  
  <p>I want to prevent using a switch case statement in order to get the value (E.g. Monday where I have the ID of 1)</p>
  
  <p>This is not the real world problem, just an example.</p>