Do not use for in on arrays

It is generally not a good practice and can break with libraries that extend native array.