title: How do I remove multiple elements from an array by index?
body: <p>Using a <code>Array.splice</code> is fine as long as it's a single value.
  Suppose I have an array with 10 elements and I want to remove element 2,4 and 8, using <code>Array.splice(index,1)</code> in a <code>for</code> loop is a bad idea because the index of each element changes after each splice operation.</p>
  
  <p>How can I remove specific array items and then re-arrange the array accordingly</p>
  
  <pre><code>var array = ["Apple", "Banana", "Peach", "Pumpkin", "Tomato", "Mango", "Guava"];
  
  remove(array, 4,5); //Is there a lodash function for this?
  
  //desired result --&gt; ["Apple", "Banana", "Peach", "Guava"]
  </code></pre>