https://i.sstatic.net/ptMcW.png
I am attempting to use the JSON.stringify()
method on my object (refer to the screenshot).
However, the result I am getting is not what I expected - the indexes of the objects are in the wrong order.
You can view the complete stringified JSON here:
As you can observe, the first index appears as 9:0
instead of 8:0
as anticipated.
What could be causing this issue?