title: What is array literal notation in javascript and when should you use it?
body: <p>JSLint is giving me this error:</p>
  
  <blockquote>
    <p>Problem at line 11 character 33: Use the array literal notation [].</p>
  </blockquote>
  
  <pre><code>var myArray = new Array();
  </code></pre>
  
  <p>What is array literal notation and why does it want me to use it instead?</p>
  
  <p>It shows here that <code>new Array();</code> should work fine... is there something I'm missing?</p>