Explanation:
If you are only using firebase auth, you can use the listUsers function of the admin module (limited to 1000 items per page).
Answer:controlling a situation by making things happen or by preparing for possible future problems
Explanation:
Every recursive function should have an exit criterion (=handling the base case) to exit the recursion.
Without it, it wil recurse forever, until system resources run out (typically the call stack will overflow and your program will crash).