Cuéntanos qué está pasando:
Describe tu problema en detalle aquí.
Tu código hasta el momento
const myPlants = [
{
type: "flowers",
list: [
"rose",
"tulip",
"dandelion"
]
},
{
type: "trees",
list: [
"fir",
"pine",
"birch"
]
}
];
console.log(myPlants[1].list[1]);
const secondTree = myPlants[1].list[1];
Información de tu navegador:
El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Desafío: JavaScript básico - Accede a arreglos anidados
Enlaza al desafío: