Using the bracket operator, object members can be handled, much like arrays, but like many other object-oriented languages, the duration. It is also possible to use the driver. They are very similar, except that brackets return a member using a string, unlike the period operator, which demands that the member be a simple word (the word should not include spaces, start).
Iterating over members of a dictionary is not a trivial task, since iterating over objects can also yield members who don’t actually belong to an object. Therefore, we must use the
hasOwnProperty method to check that the member in fact belongs to the object
Ultimately this will be written out