title: Is there a practical use for copying an object by reference?
body: <p>Javascript copies objects by reference, rather than literally. For example:</p>
  
  <pre><code>var myObject = {};
  var myCopy = myObject;
  
  myObject.foo = "bar";
  
  alert(myCopy.foo); //alerts "bar"
  </code></pre>
  
  <p>But I am really struggling to think of practical, real world reason for this other than giving developers a way to make code slightly more readable (as you can give different uses for the same object different names).</p>
  
  <p>The most likely thing is I have missed the point, so can anyone tell me what that point is?</p>