title: IE8 and localStorage support
body: <p>I am not sure if IE8 fully supports localStorage.
  But I use the following method to detect</p>
  
  <pre><code>function supports_html5_storage() 
  {
      try { 
      return 'localStorage' in window &amp;&amp; window['localStorage'] !== null; 
      } 
      catch (e) {
      return false; 
      } 
  }
  </code></pre>
  
  <p>Now IE returns true for 'localStorage' in window </p>
  
  <p>But returns undefined for window['localStorage']</p>
  
  <p>So should I update this method OR does IE8 indeed have local storage support ?</p>