title: javascript localStorage.clear() on code update
body: <p>The concept seems simple, but implementation logic seems daunting right now.</p>
  
  <p>I use localStorage in my app, and I want to clear it when I update the code.</p>
  
  <p>Any ideas how?</p>