title: Filter [empty] array object
body: <p>I'm deleting some array object in traditional way: <code>delete subDirectories[index]</code>. So, just after that this object is changing to <code>[empty]</code> one. Now, how to filter that, <code>undefined, bool, NaN</code> nothing works. I'm working with Vue.js and this contains an <code>vuex</code> action. Can anybody help? </p>
  
  <p><a href="https://i.stack.imgur.com/t7oLx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t7oLx.png" alt="enter image description here"></a></p>