One thing you can do is iterate through an object’s properties. To do that you can use a form of iteration we haven’t seen yet called
for in. The
for initerator steps through every property in an object in an arbitrary order. Here’s how you could display all the properties of the
How to access an object's properties?