title: How can I check JavaScript arrays for empty strings?
body: <p>I need to check if array contains at least one empty elements. If any of the one element is empty then it will return false.</p>
  
  <p>Example:</p>
  
  <pre><code>var my_arr = new Array(); 
  my_arr[0] = ""; 
  my_arr[1] = " hi ";
  my_arr[2] = "";
  </code></pre>
  
  <p>The 0th and 2nd array elements are "empty".</p>