Skip to content

Instantly share code, notes, and snippets.

Created July 7, 2020 15:42
What would you like to do?
Firebase Storage: What It Is and How It Works
var storageRef ="folderName/file.jpg");
var fileUpload = document.getElementById("fileUpload");
fileUpload.on('change', function(evt) {
var firstFile =[0];
var uploadTask = storageRef.put(firstFile);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment