title: Deleting from localStorage: should I use delete or .removeItem?
body: <p>I'm using <code>localStorage</code> in a Chrome extension.</p>
  
  <p>Is there any difference between <code>delete localStorage[key]</code> and <code>window.localStorage.removeItem(key)</code> or do they behave identically?</p>
  
  <p>Note that I choose <code>window.localStorage.removeItem(key)</code> to correspond exactly to the <a href="http://dev.w3.org/html5/webstorage/#the-localstorage-attribute" rel="noreferrer">spec</a>, but <code>localStorage.removeItem(key)</code> is how it would probably look in the wild.</p>