within the console.log I am receiving an array{items: Array(1)}
items: Array(1)
0: {id: 4, imageIndex: 3}
length: 1
__proto__: Array(0)
__proto__: Object
I am trying to print through this array to retrieve the imageIndex and getting an undefined.
for (var image in imageList) {
console.log(image.imageIndex);
}
If I use for...of within the loop, I get an 'imageList' is not iterable.