deleteDatabase

The deleteDatabase() method of the IDBFactory interface requests the deletion of a database.

MDN Reference