how to work with such arrays:
var a= [];
who knows give a link to the source
9/15/2020 1:58:21 PM
It is an empty nested array, what sort of "work" are you thinking about with such empty array?
Buddy your array only has one element (index 0), which is an empty array. You can't access a, left alone a, there is only one element with index 0.
Can you describe your plan some more?
Is that from SoloLearn? if so, please copy lesson link here so anyone can take a look. Otherwise share a link to the lesson ...
Can you share a link to that code here please? I would like to study it ...
So now the array snake is : [[x, y]]..
Better to add link..
well, something like that
var a =[];
I don't even know how to say it correctly, just there is some kind of lesson or something
this is not sololear, when I studied someone else's code, I saw such lines of code and cannot understand how they work
Send us a message