title: Javascript multiple keys to the same value - Do they point to the same place?
body: <p>I have the following simplified code:</p>
  
  <pre><code>var obj = {
      key1 : {
              aliases: ["alias1", "alias2"],
              prop1: someVal,
              prop2: someOtherVal
          }
  }
  var objHashMap = {};
  for(var key in obj){
      objHashMap[key] = obj[key];
      objHashMap[obj[key].aliases[0]] = obj[key];
      objHashMap[obj[key].aliases[1]] = obj[key];
  }
  </code></pre>
  
  <p>Now <code>objHashMap</code> has 3 entries, and all entries points at:</p>
  
  <pre><code>{
          aliases: ["alias1", "alias2"],
          prop1: someVal,
          prop2: someOtherVal
  }
  </code></pre>
  
  <p>My question is weather all 3 points to the same object, or points to 3 different copies of the object?</p>