title: Is there any difference between: window.localStorage and localStorage?
body: <p>I have been doing the following:</p>
  
  <pre><code>var store = window.localStorage;
  store.setItem()
  </code></pre>
  
  <p>but now I see code doing this:</p>
  
  <pre><code>localStorage.setItem()
  </code></pre>
  
  <p>Do both do the same thing?</p>