我是 firebase 的新手,我想知道如何为密码重置和电子邮件验证邮件自定义操作 URL。
例如 https://app.firebaseapp.com/__/auth/action // 这里我不想要 firebaseApp.com。那么如何从 firebase 自定义此操作 URL。?请帮助我,因为我是 firebase 的新手。任何帮助,将不胜感激
我有一个像下面的数组,
var array=[];
array[0]={id:BBB,Name:"BBB"}
array[1]={id:AAA,Name:"AAA"}
Run Code Online (Sandbox Code Playgroud)
我想将此数组转换为如下所示的数组集合
var collection={}
array.forEach(function(arr){
collection[arr.id]=true;
});
Output : collection={AAA:true,BBB:true} // this is output is sorted in alphabetic order, actually what i want is like below,
Output : collection={BBB:true,AAA:true} // this is the expected result
Run Code Online (Sandbox Code Playgroud)
怎么做到这一点?