I am encountering the following issue:
this.logs = {};
this.logs[1] = resp;
In my initial array, I have the result shown in the image below: https://i.sstatic.net/RScSm.png
However, when I try to add a second level array with another array like this:
this.logs[1][i] = resp;
The values of the second array overwrite the strings of the first array. I am unsure of how to proceed in this scenario. My goal is to have a second level array without overwriting the strings of the first array. The outcome I want exists in the image referenced here: https://i.sstatic.net/7ItLG.png
If anyone has any suggestions on how to achieve this, please let me know as I am stuck on what steps to take next.