myPlants
using object dot and array bracket notation."
The problem asks to " Retrieve the second tree from the variable
@zman07, from what you have said here is says use object dot notation but you are using object bracket instead
//object dot notation example
key.value
//array bracket notation example
array[0]
you need to use both together
Is there a reason why I can’t use bracket notation for the “list” property and have to use dot notation?
the reason is that the tests are written to accept only that version
Gotcha, thank you! If the test didn’t restrict us to dot notation, could we use both object dot and object bracket notation simultaneously?
yes, you can use both dot and bracket notation in the same expression