Stuck at #208 challenge

Stuck at #208 challenge
0

#1

What’s wrong with my solution?


#2

As the error says, it cannot read the property list of an undefined object.
So why is myPlants[2] undefined? Hint: check at which index a JavaScript array starts.


#3

Similar to what Jurien-s is saying, why do you think this…

let obj={};
console.log(obj.a)

results in undefined? Try…
let secondTree = myPlants[1].list[1];

Remember arrays are 0 indexed based meaning they start from 0,1,2,3…
sorry if this seemed even a tiny bit patronizing btw! Good Luck!