title: I get a syntax error in IE but not in Chrome
body: <p>So I have this code (a function) that works in Google Chrome/Fire Fox but not in IE. If I comment this certain line, everything runs fine, except that line is crucial.</p>
  
  <p>I have this function called ReadCookie, which basically just stores the cookies into an array called cookiearray.</p>
  
  <pre><code>function ReadCookie() {
  
  var allcookies = document.cookie; //variable called "allcookies" stores all the cookies.
  cookiearray = allcookies.split(';').map(c =&gt; c.split('=')[1]); //cookiearray is an array that has all the values as strings.
  
  }
  </code></pre>
  
  <p>IE said that the 4th line is incorrect <code>cookiearray = allcookies.split(';').map(c =&gt; c.split('=')[1]);</code> but I don't know why.</p>
  
  <p>Thanks!</p>