how to delete resource from storage of firebase code example
Example: firebase storage javascript delete document
// define the file location in a string (folder/folder/fileName)
var fileLocation = "Images/Dogs/myDog.jpg"
// delete the file
Firebase.storage().ref().child(fileLocation).delete();