title: Filter Array of Inner Arrays Based on Inner Array Length
body: <p>I need to filter out the empty arrays inside the array called <strong>arr</strong>.</p>
  <p>Here's what I see when I <code>console.log([arr])</code>:</p>
  <p><a href="https://i.stack.imgur.com/u58be.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u58be.png" alt="enter image description here" /></a></p>
  <p>I have tried <code>console.log([arr].filter(arr =&gt; arr.length &gt; 0))</code> with no luck (getting <code>[]</code>)</p>