It is a distinct type of loop, used to iterate through the properties of an object or the elements of an array. For instance assume the following
statement that loops through the properties of the Scores object, by using the variable x to hold each property in turn:
For (x in Scores) {Statements}