title: Internet Explorer 11 detection
body: <p>I know IE 11 has different user agent string than all other IE</p>
  
  <pre><code> Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv 11.0) like Gecko
  </code></pre>
  
  <p>I have tried to detect IE 11 with answer specified for this question'</p>
  
  <p><a href="https://stackoverflow.com/questions/18684099/jquery-fail-to-detect-ie-11">Jquery fail to detect IE 11</a></p>
  
  <p>Thats <code>!!navigator.userAgent.match(/Trident\/7\./)</code></p>
  
  <p>But I am getting error 
  <code>Object not found and needs to be re-evaluated.</code></p>
  
  <p>Then I openede developer console in IE11 and tried to access some predefined javascript objects, I am still getting same error.</p>
  
  <p>I have tried</p>
  
  <p><code>navigator.userAgent</code></p>
  
  <p><code>window.navigator</code></p>
  
  <p><code>console.log('test');</code></p>
  
  <p>Anyone have any idea about it ?</p>