I am working on a script, in which I am executing a firebase query from a loop. Here is the code
console.log("20") if (lastCaptureData) { result =