title: JavaScript find and remove an element from an array using splice not supported in IE9
body: <p>I have an array in JavaScript and I need to find a specific element and remove it. I tried with <code>splice()</code> and <code>findIndex()</code> and it's not supported in JSEclipse nor in IE9. I used <code>splice()</code> and <code>find()</code> and it doesn't work in IE9. </p>
  
  <p>There are 2 points why my question is not a duplicate: 
  (1) My array is an array of objects so using <code>indexOf()</code> does not apply.
  (2) Support in IE9 is prerequisite for my solutions.</p>
  
  <p>I would appreciate any assistant.</p>
  
  <p>My array:</p>
  
  <pre><code>var portingOptions = [
     {
        name: 'print',
        iconClass: 'faxBlue'
     },
     {
        name: 'pdf',
        iconClass: 'pdfBlue'
     },
     {
        name: 'exportToCcr',
        iconClass: 'documentBlue'
  
     },
     {
        name: 'message',
        iconClass: 'secureMessageBlue'
     },
     {
        name: 'email',
        iconClass: 'emailBlue'
     }
  ];
  </code></pre>
  
  <p>My code with <code>splice()</code> and <code>find()</code>:</p>
  
  <pre><code>if (myParameters.removeEmailField) {
     portingOptions.splice(portingOptions.find(function(element) {
        return element.name === 'email';
        })
     );
  }
  </code></pre>
  
  <p>Does anyone know of a solution that will work on IE9?</p>