:closed_lock_with_key:The 'for...in' loop is used to loop through the property names of an object.
:arrows_counterclockwise:The 'for...of' loop is used to loop through the elements of an iterable object, such as an array.
:loop:The 'for...in' loop can also be used with arrays, but it will return the indexes and user-defined properties.
:warning:When looping through arrays, the 'for...in' loop may not give the expected result, as it returns all properties of the array, not just the elements.
:memo:Using a traditional 'for' loop is usually recommended when looping through arrays.