title: What happens if you declare an array without New in Javascript?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5827008/whats-the-difference-between-array1-and-new-array1-in-javascript">What&#39;s the difference between Array(1) and new Array(1) in JavaScript?</a>  </p>
  </blockquote>
  
  
  
  <p>In javascript, how are these two different?</p>
  
  <pre><code>var arr = Array();  
  var arr2 = new Array();
  </code></pre>
  
  <p>If they are the same according to JS standards, are there any browsers that treat both ways differently?</p>