Skip to content

Instantly share code, notes, and snippets.

@kukagg
Created October 13, 2021 19:02
Show Gist options
  • Save kukagg/6f783053c84a2babd764e943cd5b068a to your computer and use it in GitHub Desktop.
Save kukagg/6f783053c84a2babd764e943cd5b068a to your computer and use it in GitHub Desktop.
Clean IndexedDB
indexedDB.databases().then(l => l.forEach(e => indexedDB.deleteDatabase(o.name)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment