title: key as variable when accessing javascript dictionary
body: <p>i am trying to store css values for transformations of multiple divs in a dictionary
  to access them when the div is clicked (the div id being the key of the dict).</p>
  
  <p>my dictionary:</p>
  
  <pre><code>css_dict = {
      'keyA' : ['10px, 15px', '20px', '10px'],
      'keyB' : ['20px, 30px', '10px', '20px'],
      'keyA' : ['30px, 55px', '25px', '30px'],
  }
  </code></pre>
  
  <p>i need to access it like this (variable instead of the key):</p>
  
  <pre><code>css_dict.var[0]
  </code></pre>
  
  <p>jsFiddle of what im trying to do:
  <a href="http://jsfiddle.net/tKFka/25/" rel="noreferrer">http://jsfiddle.net/tKFka/25/</a></p>
  
  <p>i cant figure out or find the right syntax for this to work...</p>