title: Why is comparing an integer with array of length 1 returns true while false with array of length 2 or more?
body: <p>Why is comparing 0 with an array of length 1 returns true whereas it returns false for array length of 2 or more ?
  For example, </p>
  
  <pre><code>var a=[]  //undefined
  0&lt;a  //returns false
  a.push(1) // [1]
  0&lt;a // returns true
  a.push(2) // [1, 2]
  0&lt;a // return false
  a.push(3) // [1, 2, 3]
  0&lt;a // return false
  </code></pre>