title: The best way to remove array element by value
body: <p>I have an array like this </p>
  
  <pre><code>arr = ["orange","red","black","white"]
  </code></pre>
  
  <p>I want to augment the array object defining a <code>deleteElem()</code> method which acts like this:</p>
  
  <pre><code>arr2 = arr.deleteElem("red"); // ["orange","black","white"] (with no hole)
  </code></pre>
  
  <p>What is the best way to accomplish this task using just the value parameter (no index)?</p>