"in" operator is not meant for array looping

in javascript, the proper way to iterate over an array is to use the for loop.
"In" operator is meant for object properties iteration

Using "in" in array loops can lead to errors (as in this case) if you have other libraries that add methods / properties to the Array classes, such as mootools or other frameworks