xlsx-populate

scope issue in javascript between two Functions

允我心安 提交于 2021-02-08 06:33:10
问题 i have try to get the excel sheet using xlsx-populate so i am trying to get the values from mailEvents collections so i can add or pass the value in the init Collection function.if i have solved this issue then my problem regarding excel is also solved. in this problem i want to access the topHeader var in init collection. here in arr2 there is the values in this form ['open','processed'] const completeReport = (startTime,endTime) => { serverRef = db.collection("MailEvents"); let getDocs =

scope issue in javascript between two Functions

寵の児 提交于 2021-02-08 06:33:08
问题 i have try to get the excel sheet using xlsx-populate so i am trying to get the values from mailEvents collections so i can add or pass the value in the init Collection function.if i have solved this issue then my problem regarding excel is also solved. in this problem i want to access the topHeader var in init collection. here in arr2 there is the values in this form ['open','processed'] const completeReport = (startTime,endTime) => { serverRef = db.collection("MailEvents"); let getDocs =