title: Remove empty row from array in javascript
body: <p>I am trying to check and remove any empty row in my table mapped to an array in javascript.</p>
  
  <p>Sample array would be like below. </p>
  
  <pre><code>1   2   3
  4   5   6
  
  7   8   9
  </code></pre>
  
  <p>Now this array is having 4 rows and 3rd one is empty which I want to remove. How to do that. I tried using  if(adata[i]) is not null, but that wont work since an indivdual value can be null. i want to check for complete row being null</p>