title: What is the difference between Array() and [] in Javascript and why would I use one over the other?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/931872/whats-the-difference-between-array-and-while-declaring-a-javascript-arr">What’s the difference between &ldquo;Array()&rdquo; and &ldquo;[]&rdquo; while declaring a JavaScript array?</a>  </p>
  </blockquote>
  
  
  
  <p>In JavaScript you can create a new array like:</p>
  
  <pre><code>var arr = new Array();
  </code></pre>
  
  <p>or like:</p>
  
  <pre><code>var arr2 = [];
  </code></pre>
  
  <p>What is the difference and why would you do one over the other?</p>