DOT NOTATION OR BRACKET NOTATION?
NOTE : This article was written with the beginners in mind, and the examples are very easy to understand.
As most of us know, JavaScript provides two notations for accessing object properties. The first, and most common, is known as DOT NOTATION, Whi...
turacreativity.dev3 min read
Luiz Filipe da Silva
Brazilian full stack developer, tale writer, and aspiring computer scientist.
Straight to the point. Good explanation!
PS: In your example,
people[person[name[firstName]]]should be
people['person']['name']['firstName']