EL - [ ] and .

As per the HFSJ book, the [ ] operator can be used anywhere in the place of the . operator. In the code magnets exercise in page 379-380 (in HFSJ), the person's dog's toy's name is accessed using ${person.dog.toys[0].name}.