I'm using localStorage in a Chrome extension.
Is there any difference between delete localStorage[key] and window.localStorage.removeItem(key) or do they behave identically?
Note that I choose window.localStorage.removeItem(key) to correspond exactly to the spec, but localStorage.removeItem(key) is how it would probably look in the wild.