function deleteDatabase(dbName) {
    let deleteRequest = indexedDB.deleteDatabase(dbName);
    deleteRequest.onsuccess = () => {console.log("Database successfully deleted")}
    deleteRequest.onerror = (e) => {console.log("Unable to delete database", e)}
}
/**
 * Deletes the specified IndexedDB database
 * @function deleteDatabase
 * @param {string} dbName Name of the database to delete
 * @returns {void}
 */
Deletes the specified IndexedDB database
@function deleteDatabase
@param {string} dbName Name of the database to delete
@returns {void}
Deletes the specified IndexedDB database @function deleteDatabase @param { string } dbName Name of the database to delete @returns { void }
function deleteDatabase(dbName) {
    let deleteRequest = indexedDB.deleteDatabase(dbName);
    deleteRequest.onsuccess = () => {console.log("Database successfully deleted")}
    deleteRequest.onerror = (e) => {console.log("Unable to delete database", e)}
}
function deleteDatabase ( dbName ) { let deleteRequest = indexedDB . deleteDatabase ( dbName ) ; deleteRequest . onsuccess = ( ) => { console . log ( "Database successfully deleted" ) } deleteRequest . onerror = ( e ) => { console . log ( "Unable to delete database" , e ) } }
Deletes the specified IndexedDB database
 @function deleteDatabase
 @param {string} dbName Name of the database to delete
 @returns {void}
Deletes the specified IndexedDB database @function deleteDatabase @param { string } dbName Name of the database to delete @returns { void }