title: Why doesn't Internet explorer 11 object support property or method 'findIndex'
body: <p>I have an array of objects from which I need to find a particular index and then delete the corresponding object from the array.</p>
  <p>I used the <code>findIndex()</code> method :</p>
  <pre><code>var index = data.findIndex(x =&gt; x.OBJECTID == objectID);
  data.splice(index, 1);
  </code></pre>
  <p>This works fine in Chrome but in IE 11, it throws</p>
  <blockquote>
  <p>object doesn't support property or method 'findIndex'</p>
  </blockquote>
  <p>I solved this by using the solution from this stackoverflow answer:   <a href="https://stackoverflow.com/questions/37698996/findindex-method-issue-with-internet-explorer">findIndex() method issue with internet explorer</a></p>
  <p>On inspecting the console log, I noticed a difference between the array of objects in Chrome and IE 11:</p>
  <p>In IE 11, the console log, the array of objects is :
  <a href="https://i.stack.imgur.com/IyanA.jpg" rel="nofollow noreferrer">enter image description here</a></p>
  <p>while in Chrome, it's:
  <a href="https://i.stack.imgur.com/k75cx.jpg" rel="nofollow noreferrer">enter image description here</a></p>
  <p>Notice that the objects in Chrome are of type object but in IE, they're of type [object object]. Is that why the findIndex() method fails? If so, why is the type different and if not, why does the findIndex() fail in IE 11?</p>