title: Difference between != and !==
body: <p>In this function, when it is compared the lenght of the array it is used != operator and when it is comparing all elements of the array it is using !== operator. Why?!  Thx.</p>
  
  <pre><code>var a = [1,2,3];
  var b = [2,3,4];
  
  function equalArrays(a,b){      
      if(a.length != b.length) return false;
      for(var i = 0; i &lt; a.length; i++)
          if(a[i] ==! b[i]) return false;
      return true;
  </code></pre>
  
  <p>}</p>