I am encountering an issue with my array structure. The main array contains sub-arrays and uses custom keys as identifiers. However, I am unable to access the array using these keys. For example, when I try to get the length of the array, it returns 0 even though there are values present.
Upon checking in the console:
[evt1: Array[0], evt2: Array[0]]
evt1: Array[0]
evt2: Array[0]
Interestingly, when I revert back to standard indices (0,1,2), I can access the array without any issues. Can anyone shed light on why this is happening?
Thank you