title: Jasmine toEqual not working as expected
body: <p>I have a Jasmine test like this:</p>
  
  <pre><code>expect(array.length).toEqual(0);
  </code></pre>
  
  <p>This passes. Out of curiosity I changed it to:</p>
  
  <pre><code>expect(array.length).toEqual(false);
  </code></pre>
  
  <p>This test fails. I was under the impression that the toEqual method does a not-strict comparison. If we do</p>
  
  <pre><code>console.log(0 == false);
  </code></pre>
  
  <p>We get the output </p>
  
  <pre><code>true
  </code></pre>
  
  <p>So why is this test failing?</p>