Firebase – How do I get both the callback function arguments and the function return value outside of the function?
For a function that takes a callback function as an argument but also has a return value, can I get both the callback function argument and the function return value outside the function? Here is a concrete example. Suppose we…