title: How to remove item from array by value?
body: <p>Is there a method to remove an item from a JavaScript array?</p>
  
  <p>Given an array:</p>
  
  <pre><code>var ary = ['three', 'seven', 'eleven'];
  </code></pre>
  
  <p>I would like to do something like:</p>
  
  <pre><code>removeItem('seven', ary);
  </code></pre>
  
  <p>I've looked into <code>splice()</code> but that only removes by the position number, whereas I need something to remove an item by its value.</p>