In my first function, I am getting a few pieces of information and pushing them to my object.
autoArry.push({
id: countTxns,
txnID: txnID,
account: buyersAccount,
data1: '',
data2: '',
data3: ''
});
At this point, I dont have the information from data1, data2, or data3 but I created them in the object anyway.
Later in my script, I want to be able to fill in those data values when i collect it throughout other functions.
The one thing that I will have that is the same in every function is the txnID.
I assume I will have to Map that somehow and then add additional data that way.
Would anyone be able to explain how I could do this?
Thanks Much