title: Is it possible to have 2 variables pointing to the same object? (javascript)
body: <p>I'm trying to have both the variables "my_a" and letters.a point to the same object.</p>
  
  <pre><code>//i want letters.a to reference (point to) my_a, not be a copy...
  //expected output should be: letters.a = c
  //made variables into Objects.. but didn't help.
  
  var my_a = new Object('a');
  var my_b = new Object('b');
  var letters = {'a': my_a, 'b': my_b};
  
  $('#output').append('my_a = ' + my_a + '&lt;br&gt;');
  $('#output').append('leters.a = ' + letters.a + '&lt;br&gt;');
  
  my_a = new Object('c');
  
  $('#output').append('my_a = ' + my_a + '&lt;br&gt;');
  $('#output').append('letters.a = &lt;span style="color:red"&gt;' + letters.a + '&lt;/span&gt;');
  ​
  </code></pre>
  
  <p>See this fiddle: </p>
  
  <p><a href="http://jsfiddle.net/jCsUq/1/">http://jsfiddle.net/jCsUq/1/</a></p>
  
  <p>But as you can see by the output, this is not working. </p>
  
  <p>Any ideas? Is this possible with javascript?</p>
  
  <p>Thank you.</p>