title: JavaScript: The best way to detect IE
body: <p>Reading <a href="http://habrahabr.ru/blogs/javascript/114350/#habracut" rel="noreferrer">this article</a> I've found a following piece of code:</p>
  
  <pre><code>if ('v'=='\v') { // Note: IE listens on document
      document.attachEvent('onstorage', onStorage, false);
  }
  </code></pre>
  
  <p>Is this method <code>'v'=='\v'</code> a great idea? Is this the shortest way to detect IE ever?</p>