title: Why doesn't [1] equals to [1]?
body: <p>in JavaScript:</p>
  
  <pre><code>(1 == 1) === true;
  (1 === 1) === true;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>var a = 1;
  var b = [1];
  (a == b) === true
  </code></pre>
  
  <p>but</p>
  
  <pre><code>([1]==[1]) === false;
  </code></pre>
  
  <p>Why is it so? I have no idea</p>