title: Why is object[key] not equal to key, if key is an object, in JavaScript?
body: <pre><code>var a = new Object;
  var b = new Object;
  var c = new Object;
  
  c[a] = a;
  c[b] = b;
  
  console.log(c[a] === a);
  </code></pre>
  
  <p>I tested the code above and get <code>false</code>. If I try <code>console.log(c[a] === b)</code>, then <code>true</code> is printed.</p>
  
  <p>Why?</p>