1

I have an array that has length = 0 but when I print it I see 30 entries. Still I can't call the map function on it. What am I dealing with here?

This is the output of from my react function. Not entering anything into the Chrome console and not altering the Array:

console.log(Array.isArray(props.images));
console.log(props.images.length);
console.log(props.images);

enter image description here

qwertz
  • 59
  • 4

0 Answers0