+1 vote
There is a data structure in js: 5c4867e7e2833213047807.png

When you run JSON.stringify instead of a normal json representation of the data structure we get something like "[]" https://monosnap.com/file/wteGoV9miG4jnuanbhfjQ1jp...

Почему так происходит?

1 Answer

0 votes
Best answer
Everything is working correctly. Properties whose names are not integers greater than or equal to zero, are discarded. You have the same array. Use the object.