Accessing Nested Arrayss

Tell us what’s happening:

Hi guys , could u help me plzz ?

Your code so far

// Setup
var myPlants = [
    type: "flowers",
    list: [
    type: "trees",
    list: [

// Only change code below this line

var secondTree = ""; // Change this line

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

Link to the challenge:

You have to go to the (second element)tree part which is at “1st” index as counting starts from zero ,
and then in the tree part to the second tree … which is at “1st” index of the tree
the code would be like:

var secondTree = myPlants[1].list[1];

Hope this helps