delete file from fire base 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();