Guys I have got into this problem while making dynamic multidimensional array and still I have no idea whats going wrong basically when I update that particular parent index of an array using javascript like
.on('click', function(){
array[dynamicIndex] = anotherArray;
});
So the problem is that when array[53][1,2,3]
is first index assigned value in that but when I try to assign new value new index the array updated into
array[53][1,2,3,4,5,6]
array[54][1,2,3,4,5,6]
Hope you got the question if not you can visit this link.