Stuck at #208 challenge

Stuck at #208 challenge


What’s wrong with my solution?


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.


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

let obj={};

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!