title: IE 11 Script1002 Array.Filter(x => ...) (Arrow functions)
body: <p>I get a error message in <strong>IE11</strong> but not in chrome the error is: </p>
  
  <blockquote>
    <p>Script1002 Syntax error</p>
  </blockquote>
  
  <p>My code is as follows</p>
  
  <pre><code>var selectedRoles = vm.roles.filter(x =&gt; x.id === role.id);
  </code></pre>
  
  <p>The line and column number of the error suggest that it is the arrow function <code>=&gt;</code> that <strong>IE11</strong> does not like. However it works fine in <strong>Chrome</strong> and <strong>Edge</strong></p>