deleteIndex

external fun deleteIndex(name: String)(source)

The deleteIndex() method of the IDBObjectStore interface destroys the index with the specified name in the connected database, used during a version upgrade.

MDN Reference