title: Unexpected token while creating a dict with another dict in javascript
body: <p>I am trying to learn javascript on my own and on one of the simple programs i am stuck at this : </p>
  
  <pre><code>var _c = {RESPONSE:'reponse'};
  </code></pre>
  
  <p>now when i try to use this dict to create another dict (as a value) it works</p>
  
  <pre><code>var d = {'bla': _c.RESPONSE};
  </code></pre>
  
  <p>but when I try to use a dict value as a key in another dict its throws Unexpected token error</p>
  
  <pre><code>var d = {_c.RESPONSE :'bla'}
  SyntaxError: Unexpected token .
  </code></pre>
  
  <p>I am not sure what is the problem with the above code.  Can someone please help?</p>