firebase.apps.length
if (firebase.apps.length === 0) {
firebase.initializeApp({});
}
Agreeable Alpaca
if (firebase.apps.length === 0) {
firebase.initializeApp({});
}