title: Declare an array jquery
body: <p>I want to declare an array in Jquery to avoid <code>"undefined"</code>
  I declare like this:</p>
  
  <pre><code>var array = [""];
  </code></pre>
  
  <p>but It applied for first loop only. </p>
  
  <p>In the second loop <code>array[1]</code>, it returns <code>undefined</code>. </p>
  
  <p>How can I declare an array to avoid undefined.</p>
  
  <p>Thank for your help.</p>