The for..in statement iterates over the enumerable properties of an object,in arbitrary order. For each distinct property, statements can be executed. In each iteration one property from object is assigned to variable and this loop continues till the end of the object.
Syntax
for (variable in object) { block to execute }