We can also use the for...in
loop to iterate
over the properties of an object.
In the example given below,
we are using the for...in
loop
to show the keys of all the properties
of the car
object as strings.
In the example given below,
we are using the
for...in
loop
to show the values stored
in each property of the object.