Skip to content

Instantly share code, notes, and snippets.

@adardesign
Created March 4, 2013 15:34
Show Gist options
  • Save adardesign/5083064 to your computer and use it in GitHub Desktop.
Save adardesign/5083064 to your computer and use it in GitHub Desktop.
Object.keys(localStorage).forEach(function(key) { delete localStorage[key]; });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment