The deleteObjectStore() method of the IDBDatabase interface destroys the object store with the given name in the connected database, along with any indexes that reference it.
As with IDBDatabase.createObjectStore, this method can be called only within a versionchange transaction.
Note: This feature is available in Web Workers