Firstly, thank you for the answer! I am definitely still dealing with this issue.
Essentially I use javascript and fetch functions to communicate with a server to receive JSON data and then load it into the array object, but now need to console log the entire array (and will need to access specific points of it later anyway) to check if all data went in correctly.
My code in that code block (within an event sheet) looks like this:
console.log("Entered Printing function.");
let stringtemp = "";
for (let i = 0; i< 26; i++) // 9 elements, index goes to 8.
{
stringtemp = "";
for (let j = 0; j< 19; j++) // 20 elements, index goes to 19
{
// Why does this function call not work?
stringtemp = stringtemp + "<" + ARRAY_TotalDLs.getAt(j, i) + "> ";
}
console.log(stringtemp);
}
I have already gone through the javascript Construct tutorial, as well as read the Array API documentation. I find them to not be precise/detailed enough on this, personally (Mostly lacking practical examples).
Does this mean I cannot access the array that I created using Constructs inbuilt features? As in my understanding, if I declare a new array within javascript, it will be an empty new array, but I need the information I loaded into the array object beforehand.