dropDb is used to remove the current database from browser storage.
dropDb
connection.dropDb().then(function() { console.log('Db deleted successfully'); }).catch(function(error) { console.log(error); });;
Example