title: How to remove all empty array inside an array
body: <p>I have <code>resultant</code> <code>array</code> like this,</p>
  
  <pre><code>[["apple","banana"],[],[],[],["kiwi"],[],[]]
  </code></pre>
  
  <p>How can I remove all the empty <code>[]</code> <code>array</code>  so that my <code>resultant</code> <code>array</code> would look like this:</p>
  
  <pre><code>[["apple","banana"],["kiwi"]];
  
  
  var array = [["apple","banana"],[],[],[],["kiwi"],[],[]];// sample array
  </code></pre>